Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Preconditions from substanceAdministration not getting populated when getAllSections() on ClinicalDocument object is called. #171

Open
kirti-ct opened this issue Dec 14, 2022 · 3 comments

Comments

@kirti-ct
Copy link

kirti-ct commented Dec 14, 2022

I am using jars from https://github.com/mdht/mdht-models/releases/tag/v20220126 . And when I call getAllSections() on ClinicalDocument , In entries object, substanceAdministration is populated but Preconditions is object is not getting populated.

I am loading following packages:
CDAPackage.eINSTANCE.eClass();
CDAUtil.loadPackages();
ConsolPackage.eINSTANCE.eClass();

I have attached the sample xml.
Am I missing any packages?

Baseline.txt

@swmuir
@drbgfc
@robmoore
@xmlmodeling
@naXa777

@swmuir
Copy link
Contributor

swmuir commented Dec 14, 2022

Which api are you using to get the preconditions ? Even if the templates are missing - the base precondition should populate

@kirti-ct
Copy link
Author

I used org.eclipse.mdht.uml.cda.Precondition from org.eclipse.mdht.uml.cda-3.0.0.202201250600.jar

I have tested for all sections and found following 9 sections for which preconditions are not populated :
1. Immunization Section
2. Medication Section
3. Medical Equipment Section
4. Discharge Medication Section
5. Medication Administered Section
6. Interventions Section
7. Plan of Treatment Section
8. Anesthesia Section
9. Admission Medications Section

The sample xml which we provided has only two preconditions (in Immunization Section and Medications Section).

@kirti-ct
Copy link
Author

@swmuir Any Updates?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants