Skip to content

Commit

Permalink
Pull request #143: Derive organisation profile from HL7 AU core inste…
Browse files Browse the repository at this point in the history
…ad of AU base.

Merge in CIL/ci-fhir-r4 from CIFMM-4158-derive-adha-core-organization-from-au-core-organization to master

* commit 'd0e740f774615f56c6fe850d7db7b27d4708b745':
  Change in versioning as per feedback 1.0.1 to 1.0.2
  Derive organisation profile from HL7 AU core instead of AU base.
  • Loading branch information
samturneradha committed Mar 22, 2024
2 parents c3bf53e + d0e740f commit 621089e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 69 deletions.
2 changes: 1 addition & 1 deletion input/dh-ig-1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</coding>
</jurisdiction>
<copyright
value="Copyright © 2023 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/."/>
value="Copyright © 2024 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/."/>
<packageId value="au.digitalhealth.r4"/>
<license value="Apache-2.0"/>
<fhirVersion value="4.0.1"/>
Expand Down
70 changes: 2 additions & 68 deletions input/resources/Profile/dh-organization-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-organization-core-1"/>
<url value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-organization-core-1"/>
<version value="1.0.1"/>
<version value="1.0.2"/>
<name value="ADHAOrganizationCore"/>
<title value="ADHA Core Organization"/>
<status value="active"/>
Expand All @@ -22,7 +22,7 @@
<kind value="resource"/>
<abstract value="false"/>
<type value="Organization"/>
<baseDefinition value="http://hl7.org.au/fhir/StructureDefinition/au-organization"/>
<baseDefinition value="http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization"/>
<derivation value="constraint"/>
<differential>
<element id="Organization">
Expand All @@ -40,50 +40,6 @@
/>
</constraint>
</element>
<element id="Organization.identifier">
<path value="Organization.identifier"/>
<slicing>
<discriminator>
<type value="pattern"/>
<path value="system"/>
</discriminator>
<ordered value="false"/>
<rules value="open"/>
</slicing>
<definition
value="Identifier for the organization that is used to identify the organization across multiple disparate systems."/>
<condition value="inv-dh-org-02"/>
<constraint>
<key value="inv-dh-org-02"/>
<severity value="error"/>
<human value="A National Organisation Identifier (type=NOI) shall be an HPI-O or PAI-O"/>
<expression
value="where(type.coding.code = 'NOI').exists() implies (system='http://ns.electronichealth.net.au/id/hi/hpio/1.0') or (system='http://ns.electronichealth.net.au/id/pcehr/paio/1.0')"/>
<source
value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-organization-core-1"
/>
</constraint>
<mustSupport value="true"/>
</element>
<element id="Organization.identifier:hpio">
<path value="Organization.identifier"/>
<sliceName value="hpio"/>
<max value="1"/>
<type>
<code value="Identifier"/>
<profile value="http://hl7.org.au/fhir/StructureDefinition/au-hpio"/>
</type>
<mustSupport value="true"/>
</element>
<element id="Organization.identifier:abn">
<path value="Organization.identifier"/>
<sliceName value="abn"/>
<type>
<code value="Identifier"/>
<profile value="http://hl7.org.au/fhir/StructureDefinition/au-australianbusinessnumber"/>
</type>
<mustSupport value="true"/>
</element>
<element id="Organization.identifier:paio">
<path value="Organization.identifier"/>
<sliceName value="paio"/>
Expand All @@ -98,28 +54,6 @@
<path value="Organization.active"/>
<fixedBoolean value="true"/>
</element>
<element id="Organization.type">
<path value="Organization.type"/>
<mustSupport value="true"/>
</element>
<element id="Organization.name">
<path value="Organization.name"/>
<min value="1"/>
<mustSupport value="true"/>
</element>
<element id="Organization.alias">
<path value="Organization.alias"/>
<mustSupport value="true"/>
</element>
<element id="Organization.telecom">
<path value="Organization.telecom"/>
<mustSupport value="true"/>
</element>
<element id="Organization.address">
<path value="Organization.address"/>
<definition value="An address for the organization."/>
<mustSupport value="true"/>
</element>
<element id="Organization.partOf">
<path value="Organization.partOf"/>
<type>
Expand Down

0 comments on commit 621089e

Please sign in to comment.