integritysystemscompany / animal_schema

Collaborative definition of JSON Schema to support individual animal data exchange. Builds on ICAR standard and focuses on Australian red meat needs.
6 stars 6 forks source link

Treatment Program should allow for courses and treatments #20

Closed Traksewt closed 4 years ago

Traksewt commented 4 years ago

The treatment program is a grouping showing the diagnosis, courses and treatments. In the comment, it says the courses and treatments are 'either or'. We think that it more likely to have both. The courses can act as a plan of what was proposed, while the treatments should be the actuals of what happened.

cookeac commented 4 years ago

Yes, I can see that could be possible. We envisaged these use cases

cookeac commented 4 years ago

Agreed we should:

  1. Allow both "courses[]" and "treatments[]" in the same programme.
  2. Add a planned/actual indicator to courses and treatments.

This would allow you to have a programme that, for instance, contained a planned course, and then actual treatments that implemented that course.

anitanagaraj commented 4 years ago

Updated the schema spreadsheet with the changes