Skip to content

Commit

Permalink
Fixes HL7Norway#13: Addressing Encounter.type issue, adding profile a…
Browse files Browse the repository at this point in the history
…nd valueset
  • Loading branch information
dipendrapant committed May 19, 2024
1 parent a2f065f commit dbecce3
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="no-helseapi-Encounter" />
<url value="http://hl7.no/fhir/StructureDefinition/no-helseapi-Encounter" />
<name value="NoHelseAPIEncounter" />
<status value="draft" />
<fhirVersion value="4.0.0" />
<kind value="resource" />
<abstract value="false" />
<type value="Encounter" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/no-basis-Encounter" />
<snapshot>
<element id="Encounter">
<path value="Encounter" />
<short value="An interaction during which services are provided to the patient" />
<definition value="An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient." />
<min value="0" />
<max value="*" />
<type>
<code value="Encounter" />
</type>
</element>
<element id="Encounter.type">
<path value="Encounter.type" />
<short value="Specific type of encounter" />
<definition value="The specific type of encounter." />
<min value="1" />
<max value="*" />
<type>
<code value="CodeableConcept" />
</type>
<binding>
<strength value="required" />
<valueSet value="https://hl7.no/fhir/ValueSet/valueset-encounter-type" /> <!-- Custom ValueSet URL from HL7 fhir ValueSet encounter-type used-->
</binding>
</element>
<!-- Add other elements as needed -->
</snapshot>
</StructureDefinition>
41 changes: 41 additions & 0 deletions ValueSet/no-helseapi-encounter-type.valueset.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<ValueSet xmlns="http://hl7.org/fhir">
<id value="no-helseapi-encounter-type" />
<name value="HelseAPIEncounterType" />
<url value="https://hl7.no/fhir/ValueSet/no-helseapi-encounter-type" />
<title value="HelseAPI Encounter Type" />
<status value="active" /> <!-- Active not draft?or?test -->
<publisher value="Norsk Helsenett"/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166" />
<code value="NO" />
<display value="Norway" />
</coding>
</jurisdiction>
<compose>
<include>
<system value="http://snomed.info/sct" />
<concept>
<code value="4525004" />
<display value="Emergency department patient visit" />
</concept>
<concept>
<code value="50849002" />
<display value="Emergency room admission" />
</concept>
<!-- Add other SNOMED CT codes as needed -->
</include>
<include>
<system value="https://volven.no" />
<concept>
<code value="8432" />
<display value="NPR Contact type" />
</concept>
<concept>
<code value="8240" />
<display value="Contact type" />
</concept>
<!-- Add other Volven codes as needed -->
</include>
</compose>
</ValueSet>

0 comments on commit dbecce3

Please sign in to comment.