<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="NICE-Encounter" />
  <meta>
    <lastUpdated value="2023-10-26T13:46:46.2578289+00:00" />
  </meta>
  <url value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-Encounter-2022Q1" />
  <version value="1" />
  <name value="NICE-Encounter" />
  <title value="NICE-Encounter" />
  <status value="active" />
  <date value="2023-10-26T14:21:42.886+00:00" />
  <publisher value="NICE" />
  <contact>
    <name value="NICE" />
    <telecom>
      <system value="email" />
      <value value="vragen@stichting-nice.nl" />
    </telecom>
  </contact>
  <description value="This profile was derived to submit data related to the patient's admission to the hospital or ICU." />
  <purpose value="This profile is used to submit encounter related information to the Dutch National Intensive Care Evaluation (NICE). It was derived from the Nictiz Health and Care Information Model (HCIM; Dutch: Zorginformatiebouwsteen or ZIB) Encounter, 2017 release version 3.1" />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="NICE-Datadictionary-MDS" />
    <uri value="https://www.stichting-nice.nl/dd/#528" />
    <name value="NICE-Datadictionary-MDS" />
    <comment value="The Minimal Data Set (MDS)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Encounter" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-Encounter" />
  <derivation value="constraint" />
  <differential>
    <element id="Encounter.identifier">
      <path value="Encounter.identifier" />
      <short value="AdmissionID" />
      <definition value="Identifier by which this encounter is known.&#xD;&#xA;&#xD;&#xA;This should be the (sub) admission ID/number. This element should never be changed because this will lead to unidentifiable records in the NICE registry. &#xD;&#xA;&#xD;&#xA;Hospitalnumber and ICU number -which are also part of the primary key- should be mapped on an organization resource. This resource is then being referred to by means of the serviceProvider element of this profile." />
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#17" />
        <comment value="Admission number" />
      </mapping>
    </element>
    <element id="Encounter.status">
      <path value="Encounter.status" />
      <short value="finished" />
      <definition value="Finished encounters are required for the NICE submission." />
      <fixedCode value="finished" />
    </element>
    <element id="Encounter.class.extension:ContactTypeCodelist">
      <path value="Encounter.class.extension" />
      <sliceName value="ContactTypeCodelist" />
      <short value="Contact type" />
      <definition value="The type of contact.&#xD;&#xA;&#xD;&#xA;Five indications of admission types are processed by NICE:&#xD;&#xA;- Medical: Code = AMC or EMER or HH or IMP&#xD;&#xA;- Emergency surgery: Code = EMSU&#xD;&#xA;- Planned surgery: Code = PLSU&#xD;&#xA;- Deceased before ICU admission: Code = DBICU&#xD;&#xA;- Planned admission (used for Planned admission data dictionary element): Code = PLADM" />
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#16" />
        <comment value="Admission type" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#241" />
        <comment value="Planned admission" />
      </mapping>
    </element>
    <element id="Encounter.class.extension:ContactTypeCodelist.valueCodeableConcept:valueCodeableConcept">
      <path value="Encounter.class.extension.valueCodeableConcept" />
      <sliceName value="valueCodeableConcept" />
      <short value="Contacttype" />
      <definition value="The contacttype as defined by Encounter.class.ContactTypeCodelist." />
      <binding>
        <strength value="extensible" />
        <valueSetUri value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.15.1.1--20171231000000" />
      </binding>
    </element>
    <element id="Encounter.class.extension:ContactTypeCodelist.valueCodeableConcept:valueCodeableConcept.coding">
      <path value="Encounter.class.extension.valueCodeableConcept.coding" />
      <slicing>
        <description value="Slice in order to differentiate between Nictiz and NICE-codes" />
        <rules value="open" />
      </slicing>
      <definition value="The contacttype that is associated with the encounter. Codes from both the Nictiz and NICE Codelists can be used." />
    </element>
    <element id="Encounter.class.extension:ContactTypeCodelist.valueCodeableConcept:valueCodeableConcept.coding:contactTypeCodeListNICE">
      <path value="Encounter.class.extension.valueCodeableConcept.coding" />
      <sliceName value="contactTypeCodeListNICE" />
      <short value="ContactTypeCodeList" />
      <definition value="The NICE-ContactType Codelist contains codes that further specifies the codes from the Nictiz Codelist. The NICE codes can be used to register the following contact types:&#xD;&#xA;&#xD;&#xA;- Emergency surgery: Code = EMSU&#xD;&#xA;- Planned surgery: Code = PLSU&#xD;&#xA;- Deceased before ICU admission: Code = DBICU&#xD;&#xA;- Planned admission (used for Planned admission data dictionary element): Code = PLADM" />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <description value="ContactTypeCodeList" />
        <valueSetUri value="https://fhir.stichting-nice.nl/ValueSet/NICE-ContactTypeCodeList" />
      </binding>
    </element>
    <element id="Encounter.subject">
      <path value="Encounter.subject" />
      <short value="The patient present at the encounter" />
      <definition value="The patient present at the encounter." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-Patient-2022Q1" />
      </type>
    </element>
    <element id="Encounter.participant.type">
      <path value="Encounter.participant.type" />
      <comment value="The participant type indicates how an individual partitipates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr, Referring etc.). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc." />
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#356" />
        <comment value="Referring Specialism" />
      </mapping>
    </element>
    <element id="Encounter.participant.individual">
      <path value="Encounter.participant.individual" />
      <definition value="The healthcare provider with whom the contact took place. The specialty and role of the healthcare provider can be entered in the HealthcareProvider information model as well.&#xD;&#xA;&#xD;&#xA;This shall be a reference to NICE-PractitionerRole. In NICE-PractitionerRole the specialty is registered which can be used together with participant.type.coding.healthProfessionalRole to identify the referring specialty." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-PractitionerRole-2022Q1" />
      </type>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#356" />
        <comment value="Referring Specialism" />
      </mapping>
    </element>
    <element id="Encounter.participant.individual.extension:practitionerRole">
      <path value="Encounter.participant.individual.extension" />
      <sliceName value="practitionerRole" />
      <mustSupport value="true" />
    </element>
    <element id="Encounter.participant.individual.extension:practitionerRole.valueReference:valueReference">
      <path value="Encounter.participant.individual.extension.valueReference" />
      <sliceName value="valueReference" />
      <definition value="The reference to a NICE-PractitionerRole. In NICE-PractitionerRole the specialty is registered which can be used together with participant.type.coding.healthProfessionalRole to identify the referring specialty." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.stichting-nice.nl/STU3/StructureDefinition/NICE-PractitionerRole-2022Q1" />
      </type>
    </element>
    <element id="Encounter.period">
      <path value="Encounter.period" />
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#11" />
        <comment value="Hospital admission date" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#12" />
        <comment value="IC admission date" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#12" />
        <comment value="IC admission time" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#86" />
        <comment value="Hospital discharge date" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#87" />
        <comment value="IC discharge date" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#89" />
        <comment value="IC discharge time" />
      </mapping>
    </element>
    <element id="Encounter.hospitalization.admitSource">
      <path value="Encounter.hospitalization.admitSource" />
      <definition value="Location from which the patient came before the encounter.&#xD;&#xA;&#xD;&#xA;The coding is extended (sliced) with codes that are defined in the NICE datadictionary:&#xD;&#xA;- Sometimes the NICE codes are a specification of the SNOMED-CT codes. **The NICE codes SHALL be used if applicable.** These codes are included in coding:admitSourceCodelistNICE.&#xD;&#xA;- NICE codes 15 (Home) and 16 (Other) should be mapped on 264362003 (SNOMED-CT) and OTH (NullFlavor) resp." />
      <binding>
        <strength value="extensible" />
        <valueSetUri value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.15.1.2--20171231000000" />
      </binding>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#14" />
        <comment value="Origin" />
      </mapping>
    </element>
    <element id="Encounter.hospitalization.admitSource.coding">
      <path value="Encounter.hospitalization.admitSource.coding" />
      <slicing>
        <description value="Slice in order to differentiate between Nictiz and NICE-codes." />
        <rules value="open" />
      </slicing>
    </element>
    <element id="Encounter.hospitalization.admitSource.coding:admitSourceCodelistNICE">
      <path value="Encounter.hospitalization.admitSource.coding" />
      <sliceName value="admitSourceCodelistNICE" />
      <short value="NICE admit source code list" />
      <definition value="NICE admission source codes. NICE codes 15 (Home) and 16 (Other) should be mapped on 264362003 (SNOMED-CT) and OTH (NullFlavor) resp." />
      <max value="1" />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <description value="Admit source code list" />
        <valueSetUri value="https://fhir.stichting-nice.nl/ValueSet/NICE-AdmitSourceCodeList" />
      </binding>
    </element>
    <element id="Encounter.hospitalization.dischargeDisposition">
      <path value="Encounter.hospitalization.dischargeDisposition" />
      <definition value="Location to which the patient will go after the encounter.&#xD;&#xA;&#xD;&#xA;The coding is extended (sliced) with codes that are defined in the NICE datadictionary:&#xD;&#xA;- Sometimes the NICE codes are a specification of the SNOMED-CT codes. **The NICE codes SHALL be used if applicable.** These codes are included in coding:dischargeDispositionCodelistNICE.&#xD;&#xA;- NICE codes 7 (Mortuary) and 8 (Home) and 9 (Other) should be mapped on 183676005 (SNOMED-CT) and 264362003 (SNOMED-CT) and OTH (NullFlavor) resp." />
      <binding>
        <strength value="extensible" />
        <valueSetUri value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.15.1.3--20171231000000" />
      </binding>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#82" />
        <comment value="Patient died in hospital" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#90" />
        <comment value="ICU Discharge destination" />
      </mapping>
    </element>
    <element id="Encounter.hospitalization.dischargeDisposition.coding">
      <path value="Encounter.hospitalization.dischargeDisposition.coding" />
      <slicing>
        <description value="Slice in order to differentiate between Nictiz and NICE-codes." />
        <rules value="open" />
      </slicing>
    </element>
    <element id="Encounter.hospitalization.dischargeDisposition.coding:dischargeDispositionCodelistNICE">
      <path value="Encounter.hospitalization.dischargeDisposition.coding" />
      <sliceName value="dischargeDispositionCodelistNICE" />
      <short value="NICE discharge disposition" />
      <definition value="NICE discharge disposition codes. NICE codes 7 (Mortuary) and 8 (Home) and 9 (Other) should be mapped on 183676005 (SNOMED-CT) and 264362003 (SNOMED-CT) and OTH (NullFlavor) resp." />
      <max value="1" />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <description value="Discharge disposition" />
        <valueSetUri value="https://fhir.stichting-nice.nl/ValueSet/NICE-DischargeDisposition" />
      </binding>
    </element>
    <element id="Encounter.serviceProvider">
      <path value="Encounter.serviceProvider" />
      <definition value="The physical location at which the contact took place.&#xD;&#xA;&#xD;&#xA;This should be used to indicate where the ICU contact took place . NICE needs this information in order to assign a unique number for the hospital and ICU department." />
      <min value="1" />
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#150" />
        <comment value="Hospital number" />
      </mapping>
      <mapping>
        <identity value="NICE-Datadictionary-MDS" />
        <map value="https://www.stichting-nice.nl/dd/#155" />
        <comment value="ICU number" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>