<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="path-Report.Microscopy" />
  <text>
    <status value="empty" />
    <div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
  </text>
  <url value="http://medmij.nl/fhir/StructureDefinition/path-Report.Microscopy" />
  <name value="PathReportMicroscopy" />
  <title value="path Report.Microscopy" />
  <status value="draft" />
  <publisher value="MedMij" />
  <contact>
    <name value="MedMij" />
    <telecom>
      <system value="email" />
      <value value="info@medmij.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Microscopy-related results." />
  <purpose value="This Observation resource represents the Microscopy Clinical Information Model (CIM) for patient use cases in the context of Pathology." />
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="mercurius-core-dataset-2-0" />
    <name value="Mercurius Core Dataset 2.0" />
  </mapping>
  <mapping>
    <identity value="medmij-core-dataset-120-20260923" />
    <name value="Dataset MedMij R4 Core 1.2.0 20260923" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.meta">
      <path value="Observation.meta" />
      <min value="1" />
    </element>
    <element id="Observation.meta.tag">
      <path value="Observation.meta.tag" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="Observation.meta.tag:careType">
      <path value="Observation.meta.tag" />
      <sliceName value="careType" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="CareType" />
      <definition value="The type of the healthcare provider responsible for the delivered care, or more specifically, the specialty of the department and/or health professional that delivered care. It enables patients and systems to interpret the origin and context of medical data." />
      <comment value="Note that the `careType` slice is a slice on `.meta.tag`, which might not be immediately clear based on the rendering." />
      <alias value="Zorgtype" />
      <min value="1" />
      <max value="*" />
      <binding>
        <strength value="required" />
        <valueSet value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.2.4--20200901000000" />
      </binding>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-123" />
        <comment value="CareType" />
      </mapping>
    </element>
    <element id="Observation.meta.tag:careType/pathology">
      <path value="Observation.meta.tag" />
      <sliceName value="careType/pathology" />
      <comment value="Note that the `pathology` slice is a reslice of the `careType` slice, which might not be immediately clear based on the rendering." />
      <min value="1" />
      <max value="1" />
      <patternCoding>
        <system value="urn:oid:2.16.840.1.113883.2.4.6.7" />
        <code value="0388" />
      </patternCoding>
    </element>
    <element id="Observation.text">
      <path value="Observation.text" />
      <min value="1" />
    </element>
    <element id="Observation.text.status">
      <path value="Observation.text.status" />
      <patternCode value="additional" />
    </element>
    <element id="Observation.text.div">
      <path value="Observation.text.div" />
      <short value="Microscopy" />
      <definition value="Microscopy-related results." />
      <alias value="Microscopie" />
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-222" />
        <comment value="microscopie" />
      </mapping>
    </element>
    <element id="Observation.status">
      <path value="Observation.status" />
      <patternCode value="final" />
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://snomed.info/sct" />
          <code value="117259009" />
        </coding>
      </patternCodeableConcept>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <short value="Patient" />
      <definition value="The patient as subject of the information." />
      <alias value="Patiënt" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://medmij.nl/fhir/StructureDefinition/path-Patient" />
      </type>
      <mapping>
        <identity value="medmij-core-dataset-120-20260923" />
        <map value="medmij-core-dataelement-116" />
        <comment value="Patient" />
      </mapping>
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="Observation.effective[x]:effectiveDateTime">
      <path value="Observation.effective[x]" />
      <sliceName value="effectiveDateTime" />
      <short value="EffectiveDateTime / AuthorizationDate" />
      <definition value="Date of authorization." />
      <alias value="Tijdsindicatie" />
      <alias value="DatumTijd" />
      <alias value="DatumAutorisatie" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-44" />
        <comment value="datumautorisatie" />
      </mapping>
    </element>
    <element id="Observation.specimen">
      <path value="Observation.specimen" />
      <short value="Specimen" />
      <definition value="Specimen that will be examined by a laboratory." />
      <comment value="The primary specimen is referenced here, as the data in this Observation resource relates to both the primary specimen as well as the individual samples taken from that specimen." />
      <alias value="Monster" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen" />
        <targetProfile value="http://medmij.nl/fhir/StructureDefinition/path-Request.Specimen" />
      </type>
    </element>
  </differential>
</StructureDefinition>