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
CHEMEDDosage ch-dosage-1 is wrong? #263
Comments
Sorry just to clarify I'm aware the constraint I pasted does only the check for the split dose case and not the case of enforcing sequence is absent if simple dose. I just wanted to try the complex case, I would add the absent sequence check as well before doing the PR. |
a full one:
|
21.03.2024 PJ, DV, QL, MZ, AB: |
@pjolo please review the changes.
|
@dvribeira they are good , thanks!! :) |
The changes are good |
During some
CH EMED EPR
tests we noticed some systems where sending split dose statements with base dosage without asequence
field. Having a look at this I noticed that thech-dosage-1
constraint seems to be wrong.What I did to test this with a local build of CH EMED EPR was to add a constraint on the document entry level, on my case to the medication statement resource for testing it:
This solution seems to be working fine.
There might be better ways of solving this, though, since I am no FhirPath expert. If you think this is ok I can do it for CH EMED and open a PR (one invariant suffices but has to be added to CHEMEDMedicationStatement, CHEMEDMedicationRequest and CHEMEDMedicationDispense) myself.
Cheers!
The text was updated successfully, but these errors were encountered: