Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreamentProgramRessource? #219

Closed
dirbSEGES opened this issue Jun 11, 2021 · 8 comments · Fixed by #227
Closed

TreamentProgramRessource? #219

dirbSEGES opened this issue Jun 11, 2021 · 8 comments · Fixed by #227
Labels
this-release Scheduled to be implemented for this release in development

Comments

@dirbSEGES
Copy link

Hi,
When we are looking at TreatmentProgramEventResource.

As I understand, is the ressources to create a treament on animal, based on a program. I can´t find a ressource to get the available TreamentPrograms on a location? How to do this?

@cookeac
Copy link
Collaborator

cookeac commented Jun 16, 2021

A Treatment Program is not a pre-defined entity (for instance "available treatment programs") but instead is a way of defining a set of treatment events for an animal and relating them to the diagnoses that the treatments are addressing. This is used where farmers or vets specify a number of treatments and total dose (for instance), rather than recording the discrete treatment events.

In the example URL scheme, GET /locations/{location-scheme}/{location-id}/treatment-programs may be used to get treatment programs for a location.

@erwinspeybroeck
Copy link
Collaborator

We are using something we called TreatmentProgramTemplates in which somebody can define standard treatment programs. Somebody can then use such a template to define a program. Is it something like that you want to define?

@dirbSEGES
Copy link
Author

dirbSEGES commented Jun 17, 2021

Yes, but not a template, it´ s more predefined treamentsprogram for the common diagnoses at the location. In our system the vets will describe a treamentprogram or plan for the most common diagnoses at the location. When the farmer start a treatment he select the program/plan and recieve the predefined medications and dosis and the number of retreaments.

Then he base his treamentsregistrations on the program/plan.

@erwinspeybroeck
Copy link
Collaborator

yes, but that is what I mean by a template - from this template a plan is derived. when deriving you can take the information from the template (like which treatments, medicines, doses, ...) and use it in a treatment program for an animal.
In the standard we have not defined anything for a template (yet).

@dirbSEGES
Copy link
Author

Ok, I understand you.

TreatmentProgramTemplates could include "Treament"(icarTreatmentEventResource) and "Diagnosis"(icarDiagnosisType). "Courses" could also be used if it could be expanded with "numberoftreaments", "days(orPeriod)betweentreaments"

@cookeac
Copy link
Collaborator

cookeac commented Jul 1, 2021

I agree, it would make sense to add to icarMedicineCourseSummary:

  • numberOfTreatments - integer
  • treatmentInterval - integer (in days)

@cookeac
Copy link
Collaborator

cookeac commented Jul 1, 2021

Discussed whether treatmentInterval should support hours or part-weeks. We should be explicit about the units used (Hours?).

@cookeac cookeac added the this-release Scheduled to be implemented for this release in development label Jul 1, 2021
@cookeac
Copy link
Collaborator

cookeac commented Jul 15, 2021

I have a PR to submit that should resolve this.

cookeac added a commit to cookeac/ICAR that referenced this issue Jul 26, 2021
Added numberOfTreatments and treatmentInterval to icarMedicineCourseSummaryType
Resolves adewg#219
@cookeac cookeac closed this as completed Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
this-release Scheduled to be implemented for this release in development
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants