Skip to content

Commit

Permalink
Core Condition initialised
Browse files Browse the repository at this point in the history
  • Loading branch information
dtr-agency committed Nov 20, 2021
1 parent 5c2ee9d commit 0caca8e
Show file tree
Hide file tree
Showing 7 changed files with 212 additions and 6 deletions.
5 changes: 5 additions & 0 deletions ig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-immunization-core-1",
"http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-location-core-1",
"http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-medication-core-1",
"http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-medicationstatement-core-1",
"http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-organization-core-1",
"http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-patient-core-1",
"http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-patient-mhr-1",
Expand Down Expand Up @@ -74,6 +75,10 @@
"StructureDefinition/dh-bodystructure-core-1": {
"base": "StructureDefinition-dh-bodystructure-core-1.html",
"defns": "StructureDefinition-dh-bodystructure-core-1-definitions.html"
},
"StructureDefinition/dh-condition-core-1": {
"base": "StructureDefinition-dh-condition-core-1.html",
"defns": "StructureDefinition-dh-condition-core-1-definitions.html"
},
"StructureDefinition/dh-healthcareservice-core-1": {
"base": "StructureDefinition-dh-healthcareservice-core-1.html",
Expand Down
2 changes: 2 additions & 0 deletions pages/_includes/dh-condition-core-1-examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
None.

17 changes: 17 additions & 0 deletions pages/_includes/dh-condition-core-1-intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#### Australian Digital Health Agency Core Condition
The purpose of this profile is to provide a core representation of a condition for the electronic exchange of health information between healthcare providers, and between healthcare providers and the My Health Record system infrastructure in Australia. This profile supports a statement of a condition, problem, or diagnosis including asserting negation for specific conditions or problems.

This profile is designed to set a core Specimen for:
* Insert ADHA API Endpoint
* Insert ADHA API Endpoint

#### Implementation guidance
The following guidance applies:
* verificationStatus is 'confirmed'
* an active condition is sent with clinicalStatus 'active'
* a refuted condition is sent with a negation code and verificationStatus of ‘unconfirmed’ or ‘confirmed’ depending on the level of certainty

#### Boundaries and relationships
This profile is referenced by
[Australian Digital Health Agency Core TBD](StructureDefinition-dh-tbd-core-1.html), and
[Australian Digital Health Agency Core TBD](StructureDefinition-dh-tbd-core-1.html).
14 changes: 14 additions & 0 deletions pages/_includes/dh-condition-core-1-issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<table class="list" width="100%">
<tbody>
<tr>
<th>Reference</th>
<th>Description</th>
<th>Issue No.</th>
</tr>
<tr>
<td>Constraint presentation</td>
<td>The full set of constraints (i.e. invariants) defined in this profile are only presented in the Detailed Descriptions tab or the raw representation (e.g. XML) of the profile. The Differential Table only presents constraints introduced in this profile in addition to the constraints present in the base profile and base resource. The Snapshot Table only presents the constraints visible in the Differential Table and additionally presents those constraints set in slices in the base profile.</td>
<td>See Zulip <a href="https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Derived.20profile.20snapshot.20missing.20upstream.20invariants">Derived profile snapshot missing upstream invariants</a> stream</td>
</tr>
</tbody>
</table>
1 change: 1 addition & 0 deletions pages/_includes/dh-condition-core-1-summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This file is intentionally empty. It is required to be included by the IG Publisher.
163 changes: 163 additions & 0 deletions resources/dh-condition-core-1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
<?xml version="1.0" encoding="utf-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="dh-condition-core-1" />
<url value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-condition-core-1" />
<version value="0.0.1"/>
<name value="DHConditionCore"/>
<title value="Australian Digital Health Agency Core Condition"/>
<status value="draft" />
<experimental value="false" />
<publisher value="Australian Digital Health Agency" />
<contact>
<telecom>
<system value="email" />
<value value="[email protected]" />
</telecom>
</contact>
<description value="The purpose of this profile is to provide a core representation of a condition for the electronic exchange of health information between healthcare providers, and between healthcare providers and the My Health Record system infrastructure in Australia. This profile supports a statement of a condition, problem, or diagnosis including asserting negation for specific conditions or problems." />
<copyright value="Copyright © 2021 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/." />
<fhirVersion value="4.0.1" />
<kind value="resource" />
<abstract value="false" />
<type value="Condition" />
<baseDefinition value="http://hl7.org.au/fhir/StructureDefinition/au-condition" />
<derivation value="constraint" />
<differential>
<element id="Condition">
<path value="Condition" />
<constraint>
<key value="inv-dh-cond-01"/>
<severity value="error"/>
<human value="The subject shall at least have a reference or an identifier with at least a system and a value"/>
<expression value="subject.reference.exists() or subject.identifier.where(system.count() + value.count() &gt;1).exists()"/>
<source value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-condition-core-1" />
</constraint>
<constraint>
<key value="inv-dh-cond-03" />
<severity value="error" />
<human value="If present, a recorder shall at least have a reference, an identifier or a display" />
<expression value="recorder.exists() implies recorder.all($this.reference.exists() or $this.identifier.exists() or $this.display.exists())" />
<source value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-condition-core-1" />
</constraint>
<constraint>
<key value="inv-dh-cond-04" />
<severity value="error" />
<human value="If present, an asserter shall at least have a reference, an identifier or a display" />
<expression value="asserter.exists() implies asserter.all($this.reference.exists() or $this.identifier.exists() or $this.display.exists())" />
<source value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-condition-core-1" />
</constraint>
</element>
<element id="Condition.clinicalStatus">
<path value="Condition.clinicalStatus" />
<mustSupport value="true" />
</element>
<element id="Condition.verificationStatus">
<path value="Condition.verificationStatus" />
<mustSupport value="true" />
</element>
<element id="Condition.category">
<path value="Condition.category" />
<mustSupport value="true" />
</element>
<element id="Condition.severity">
<path value="Condition.severity" />
<mustSupport value="true" />
<binding>
<strength value="extensible" />
<valueSet value="http://hl7.org/fhir/ValueSet/condition-severity" />
</binding>
</element>
<element id="Condition.code">
<path value="Condition.code" />
<min value="1" />
<mustSupport value="true" />
<binding>
<strength value="extensible" />
<valueSet value="https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1" />
</binding>
</element>
<element id="Condition.bodySite">
<path value="Condition.bodySite" />
<mustSupport value="true" />
<binding>
<strength value="extensible" />
<valueSet value="https://healthterminologies.gov.au/fhir/ValueSet/body-site-1" />
</binding>
</element>
<element id="Condition.subject">
<path value="Condition.subject" />
<type>
<code value="Reference" />
<targetProfile value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-patient-mhr-1" />
<targetProfile value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-patient-core-1" />
</type>
<mustSupport value="true" />
</element>
<element id="Condition.encounter">
<path value="Condition.encounter" />
<type>
<code value="Reference" />
<targetProfile value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-encounter-core-1" />
</type>
<mustSupport value="true" />
</element>
<element id="Condition.onset[x]">
<path value="Condition.onset[x]" />
<type>
<code value="dateTime"/>
</type>
<type>
<code value="Age"/>
</type>
<type>
<code value="Period"/>
</type>
<type>
<code value="Range"/>
</type>
<mustSupport value="true" />
</element>
<element id="Condition.abatement[x]">
<path value="Condition.abatement[x]" />
<type>
<code value="dateTime"/>
</type>
<type>
<code value="Age"/>
</type>
<type>
<code value="Period"/>
</type>
<type>
<code value="Range"/>
</type>
<mustSupport value="true" />
</element>
<element id="Condition.recorder">
<path value="Condition.recorder"/>
<type>
<code value="Reference" />
<targetProfile value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-practitionerrole-core-1" />
<targetProfile value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-patient-mhr-1" />
<targetProfile value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-patient-core-1" />
<targetProfile value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-relatedperson-core-1" />
</type>
<mustSupport value="true"/>
</element>
<element id="Condition.asserter">
<path value="Condition.asserter"/>
<type>
<code value="Reference" />
<targetProfile value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-practitionerrole-core-1" />
<targetProfile value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-patient-mhr-1" />
<targetProfile value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-patient-core-1" />
<targetProfile value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-relatedperson-core-1" />
</type>
<mustSupport value="true"/>
</element>
<element id="Condition.note">
<path value="Condition.note" />
<mustSupport value="true" />
</element>
</differential>
</StructureDefinition>
16 changes: 10 additions & 6 deletions resources/implementationguide-core-1.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ImplementationGuide xmlns="http://hl7.org/fhir">
<id value="implementationguide-core-1"/>
<url
value="http://ns.electronichealth.net.au/ci/fhir/4.0/ImplementationGuide/implementationguide-core-1"/>
<url value="http://ns.electronichealth.net.au/ci/fhir/4.0/ImplementationGuide/implementationguide-core-1"/>
<version value="0.0.2"/>
<name value="Core"/>
<title value="Core"/>
Expand All @@ -15,10 +14,8 @@
<value value="[email protected]"/>
</telecom>
</contact>
<description
value="TBD"/>
<copyright
value="Copyright © 2021 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/."/>
<description value="TBD"/>
<copyright value="Copyright © 2021 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.electronichealth.core"/>
<license value="Apache-2.0"/>
<fhirVersion value="4.0.1"/>
Expand All @@ -42,6 +39,13 @@
<name value="Australian Digital Health Agency Core BodyStructure"/>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="StructureDefinition/dh-condition-core-1"/>
</reference>
<name value="Australian Digital Health Agency Core Condition"/>
<exampleBoolean value="false"/>
</resource>
<resource>
<reference>
<reference value="StructureDefinition/dh-healthcareservice-core-1"/>
Expand Down

0 comments on commit 0caca8e

Please sign in to comment.