Skip to content

Commit

Permalink
Pull request #145: CIFMM-4156 Derive Medication resource from Au Core…
Browse files Browse the repository at this point in the history
… - retaining reference to Organization and Substances resources

Merge in CIL/ci-fhir-r4 from feature/CIFMM-4156-CoreMedication-second-go to master

* commit '4cc11cc5a7228892845a0aa9be47b6efdbe5ec10':
  Removal of commented out codes
  CIFMM-4156 Derive Medication resource from Au Core - retaining reference to Organization and Substances resources
  • Loading branch information
charlie-chen-adha committed Apr 8, 2024
2 parents 621089e + 4cc11cc commit a5b37d5
Showing 1 changed file with 2 additions and 43 deletions.
45 changes: 2 additions & 43 deletions input/resources/Profile/dh-medication-core-1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="dh-medication-core-1"/>
<url value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-medication-core-1"/>
<version value="1.0.1"/>
<version value="1.0.2"/>
<name value="ADHAMedicationCore"/>
<title value="ADHA Core Medication"/>
<status value="active"/>
Expand All @@ -22,7 +22,7 @@
<kind value="resource"/>
<abstract value="false"/>
<type value="Medication"/>
<baseDefinition value="http://hl7.org.au/fhir/StructureDefinition/au-medication"/>
<baseDefinition value="http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication"/>
<derivation value="constraint"/>
<differential>
<element id="Medication">
Expand Down Expand Up @@ -71,31 +71,6 @@
</type>
<mustSupport value="true"/>
</element>
<element id="Medication.code">
<path value="Medication.code"/>
<min value="1"/>
<mustSupport value="true"/>
</element>
<element id="Medication.code.coding">
<path value="Medication.code.coding"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="system"/>
</discriminator>
<rules value="open"/>
</slicing>
</element>
<element id="Medication.code.coding:pbs">
<path value="Medication.code.coding"/>
<sliceName value="pbs"/>
<mustSupport value="true"/>
</element>
<element id="Medication.code.coding:amt">
<path value="Medication.code.coding"/>
<sliceName value="amt"/>
<mustSupport value="true"/>
</element>
<element id="Medication.manufacturer">
<path value="Medication.manufacturer"/>
<type>
Expand All @@ -107,14 +82,6 @@
<condition value="inv-dh-med-01"/>
<mustSupport value="true"/>
</element>
<element id="Medication.form">
<path value="Medication.form"/>
<mustSupport value="true"/>
</element>
<element id="Medication.amount">
<path value="Medication.amount"/>
<mustSupport value="true"/>
</element>
<element id="Medication.ingredient">
<path value="Medication.ingredient"/>
<constraint>
Expand Down Expand Up @@ -143,13 +110,5 @@
<condition value="inv-dh-med-02"/>
<mustSupport value="true"/>
</element>
<element id="Medication.ingredient.isActive">
<path value="Medication.ingredient.isActive"/>
<mustSupport value="true"/>
</element>
<element id="Medication.ingredient.strength">
<path value="Medication.ingredient.strength"/>
<mustSupport value="true"/>
</element>
</differential>
</StructureDefinition>

0 comments on commit a5b37d5

Please sign in to comment.