<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="gp-LaboratoryResult" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/gp-LaboratoryResult" />
  <version value="1.0.4" />
  <name value="gp LaboratoryResult" />
  <title value="gp-LaboratoryResult" />
  <status value="active" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="url" />
      <value value="https://www.nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="A laboratory result as defined in the Dutch GP association NHG in the GP-EHR reference model (Dutch: HIS referentiemodel) based on observations of type L in NHG Table 45 Diagnostische bepalingen. A diagnostic test is an objectifiable diagnostic procedure. The result is the outcome of the procedure. Tests include vital signs like blood pressure, weight and lab results like ferro in blood." />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="hcim-laboratorytestresult-v4.1-2017EN" />
    <uri value="https://zibs.nl/wiki/LaboratoryTestResult-v4.1(2017EN)" />
    <name value="HCIM LaboratoryTestResult-v4.1(2017EN)" />
  </mapping>
  <mapping>
    <identity value="hcim-basicelements-v1.0-2017EN" />
    <uri value="https://zibs.nl/wiki/BasicElements-v1.0(2017EN)" />
    <name value="HCIM BasicElements-v1.0(2017EN)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-LaboratoryTestResult-Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.extension:nl-core-episodeofcare">
      <path value="Observation.extension" />
      <sliceName value="nl-core-episodeofcare" />
      <comment value="It is recommended to use the nl-core-episodeofcare extension to reference nl-core-episodeofcare (EpisodeOfCare) instances rather than the `context` element, as this approach will be enforced in FHIR R4." />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/extension-context-nl-core-episodeofcare" />
      </type>
    </element>
    <element id="Observation.code.coding">
      <path value="Observation.code.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.code.coding:NHGTable45">
      <path value="Observation.code.coding" />
      <sliceName value="NHGTable45" />
      <definition value="A reference to a code defined by a terminology system. The effective system is the NHG Tabel 45 Diagnostische bepalingen" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding:NHGTable45.system">
      <path value="Observation.code.coding.system" />
      <fixedUri value="https://referentiemodel.nhg.org/tabellen/nhg-tabel-45-diagnostische-bepalingen" />
    </element>
    <element id="Observation.context">
      <path value="Observation.context" />
      <comment value="It is recommended to use the nl-core-episodeofcare extension to reference nl-core-episodeofcare (EpisodeOfCare) instances rather than the `context` element, as this approach will be enforced in FHIR R4." />
    </element>
  </differential>
</StructureDefinition>