hl7ch / hl7ch-cda

CDA examples and schematron rules for the various CDA projects in Switzerland
http://e-health-wiki.ch/index.php/EHealth_Suisse_Wiki
1 stars 0 forks source link

Unit attribute in quantity value should not be specified in certain cases #3

Closed ziegm closed 4 years ago

ziegm commented 4 years ago

IHE Pharmacy Technical Framework Supplement – Community Dispense (DIS)

6.3.4.5.3.7 Quantity Value

quantity value=' ' unit=' '

The supply entry SHALL be present and indicate the quantity supplied.

The medication in the element describes either (1) a manufactured medication (e.g., “Adol 500mg Caplet”) or (2) a descriptor of a magistral preparation/compound medicine. It also may contain package information (e.g., “Adol 500mg Caplet, 30 tablets package”) in the pharm:asContent-element. The following rules shall indicate to which the quantity-element relates to (either manufactured medication or package):

Project eMedication

The 1st case described above occurs in the following documents:

Number of packages: <quantity unit="1" value="1" /> -> Correction: <quantity value="1" />

Package information in product-element: <pharm:capacityQuantity value="30" />

The 2nd case described above is not integrated in any document of this project.

ziegm commented 4 years ago

The same issue for the Medication Prescription document:

IHE Community Prescription (PRE)

6.3.4.7.3.4 Amount of units of the consumable Quantity

<quantity value=' ' unit=' '/>

The Amount of units of the consumable Content Module describes the quantity of the enclosing consumable-element.

Project eMedication

To correct in following document: