<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="path-lm-Request" />
  <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-lm-Request" />
  <identifier>
    <use value="official" />
    <system value="urn:ietf:rfc:3986" />
    <value value="urn:oid:2.16.528.1.1023.3.5.2" />
  </identifier>
  <name value="PathLmRequest" />
  <title value="Request" />
  <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="Request for a pathology study to be performed by a certain laboratory." />
  <purpose value="This LogicalModel represents the Request 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="path-dataset-100-alpha3-20260923" />
    <name value="Dataset Pathologie MedMij 1.0.0-alpha.3 20260923" />
  </mapping>
  <mapping>
    <identity value="ehds-imagingreport-v1.0.0" />
    <uri value="https://www.xt-ehr.eu/fhir/models/1.0.0/en/StructureDefinition-EHDSImagingReport.html" />
    <name value="EHDS ImagingReport v1.0.0" />
  </mapping>
  <mapping>
    <identity value="ehds-specimen-v1.0.0" />
    <uri value="https://www.xt-ehr.eu/fhir/models/1.0.0/en/StructureDefinition-EHDSSpecimen.html" />
    <name value="EHDS Specimen v1.0.0" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://medmij.nl/fhir/StructureDefinition/path-lm-Request" />
  <baseDefinition value="http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-Base" />
  <derivation value="specialization" />
  <differential>
    <element id="path-lm-Request">
      <path value="path-lm-Request" />
      <short value="Request" />
      <definition value="Request for a pathology study to be performed by a certain laboratory." />
      <alias value="Aanvraag" />
      <mapping>
        <identity value="path-dataset-100-alpha3-20260923" />
        <map value="path-dataelement-6" />
        <comment value="Request" />
      </mapping>
      <mapping>
        <identity value="ehds-imagingreport-v1.0.0" />
        <map value="EHDSImagingReport" />
        <comment value="EHDSImagingReport" />
      </mapping>
      <mapping>
        <identity value="ehds-imagingreport-v1.0.0" />
        <map value="EHDSImagingReport.body.orderInformation" />
        <comment value="orderInformation" />
      </mapping>
    </element>
    <element id="path-lm-Request.IdentificationNumber">
      <path value="path-lm-Request.IdentificationNumber" />
      <short value="Request identifier" />
      <definition value="Identifier of the request for a pathology study." />
      <comment value="This concept is often referred to as RequestIdentifier.&#xA;&#xA;Even though the ReportIdentifier (i.e. _rapnaam_, mercurius-core-rubriek-3) is assigned by the laboratory doing the analysis (and thus not by the requester), the RequestIdentifier is populated with its value as well, as the request and report are always directly linked to each other in Mercurius. In particular, this identifier attains a value of the form _[TCSB]YY-nnnnn_ or _[TCSB]YY-nnnnnn_ (based on the laboratory the report originates from), e.g. T26-012345." />
      <alias value="AanvraagIdentificatienummer" />
      <max value="1" />
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-3" />
        <comment value="rapnaam" />
      </mapping>
      <mapping>
        <identity value="ehds-imagingreport-v1.0.0" />
        <map value="EHDSImagingReport.body.orderInformation.orderId" />
        <comment value="orderId" />
      </mapping>
    </element>
    <element id="path-lm-Request.Patient">
      <path value="path-lm-Request.Patient" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://medmij.nl/fhir/StructureDefinition/path-lm-Patient" />
      </type>
      <mapping>
        <identity value="ehds-imagingreport-v1.0.0" />
        <map value="EHDSImagingReport.header.subject" />
        <comment value="subject" />
      </mapping>
    </element>
    <element id="path-lm-Request.HealthcareProvider">
      <path value="path-lm-Request.HealthcareProvider" />
      <max value="0" />
    </element>
    <element id="path-lm-Request.Effective[x]">
      <path value="path-lm-Request.Effective[x]" />
      <max value="0" />
    </element>
    <element id="path-lm-Request.Effective[x]:EffectiveDateTime">
      <path value="path-lm-Request.Effective[x]" />
      <sliceName value="EffectiveDateTime" />
      <max value="0" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="path-lm-Request.Effective[x]:EffectivePeriod">
      <path value="path-lm-Request.Effective[x]" />
      <sliceName value="EffectivePeriod" />
      <max value="0" />
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="path-lm-Request.CareType">
      <path value="path-lm-Request.CareType" />
      <comment value="At least code _0388_ ('Medisch specialisten, pathologische anatomie') SHALL be conveyed as care type." />
      <min value="1" />
      <mapping>
        <identity value="ehds-imagingreport-v1.0.0" />
        <map value="EHDSImagingReport.header.serviceSpecialty" />
        <comment value="serviceSpecialty" />
      </mapping>
    </element>
    <element id="path-lm-Request.RequestType">
      <path value="path-lm-Request.RequestType" />
      <short value="Request type" />
      <definition value="This typing of the examination provides additional context for the request." />
      <alias value="SoortAanvraag" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <defaultValueCodeableConcept>
        <coding>
          <system value="http://medmij.nl/fhir/CodeSystem/MercuriusRequestType" />
          <code value="normaal" />
        </coding>
      </defaultValueCodeableConcept>
      <binding>
        <strength value="required" />
        <valueSet value="http://medmij.nl/fhir/ValueSet/MercuriusRequestType" />
      </binding>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-89" />
        <comment value="soortaanvraag" />
      </mapping>
    </element>
    <element id="path-lm-Request.HealthScreeningType">
      <path value="path-lm-Request.HealthScreeningType" />
      <short value="Health screening type" />
      <definition value="Type of national trial for this request." />
      <alias value="BVOSoort" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <defaultValueCodeableConcept>
        <coding>
          <system value="http://medmij.nl/fhir/CodeSystem/MercuriusHealthScreeningType" />
          <code value="0" />
        </coding>
      </defaultValueCodeableConcept>
      <binding>
        <strength value="required" />
        <valueSet value="http://medmij.nl/fhir/ValueSet/MercuriusHealthScreeningType" />
      </binding>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-97" />
        <comment value="bvosoort" />
      </mapping>
    </element>
    <element id="path-lm-Request.Requester">
      <path value="path-lm-Request.Requester" />
      <short value="Requester" />
      <definition value="Requester of the pathology study." />
      <alias value="Aanvrager" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="path-dataset-100-alpha3-20260923" />
        <map value="path-dataelement-7" />
        <comment value="Requester" />
      </mapping>
      <mapping>
        <identity value="ehds-imagingreport-v1.0.0" />
        <map value="EHDSImagingReport.body.orderInformation.orderPlacer" />
        <comment value="orderPlacer" />
      </mapping>
    </element>
    <element id="path-lm-Request.Requester.RequesterName">
      <path value="path-lm-Request.Requester.RequesterName" />
      <short value="Requester name" />
      <definition value="Name of the requester." />
      <alias value="AanvragerNaam" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-68" />
        <comment value="aanvrager" />
      </mapping>
      <mapping>
        <identity value="ehds-imagingreport-v1.0.0" />
        <map value="EHDSImagingReport.body.orderInformation.orderPlacerEHDSHealthProfessional" />
        <comment value="orderPlacerEHDSHealthProfessional (implicit, actual mapping is on orderPlacerEHDSHealthProfessional.name)" />
      </mapping>
    </element>
    <element id="path-lm-Request.Requester.Specialty">
      <path value="path-lm-Request.Requester.Specialty" />
      <short value="Specialty" />
      <definition value="Specialty of the requester." />
      <alias value="Specialisme" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://medmij.nl/fhir/ValueSet/MercuriusSpecialty" />
      </binding>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-71" />
        <comment value="specialisme" />
      </mapping>
      <mapping>
        <identity value="ehds-imagingreport-v1.0.0" />
        <map value="EHDSImagingReport.body.orderInformation.orderPlacerEHDSHealthProfessional" />
        <comment value="orderPlacerEHDSHealthProfessional (implicit, actual mapping is on orderPlacerEHDSHealthProfessional.professionalRole.specialty)" />
      </mapping>
    </element>
    <element id="path-lm-Request.Requester.Hospital">
      <path value="path-lm-Request.Requester.Hospital" />
      <short value="Hospital" />
      <definition value="Name of the hospital from where the specimen is sent." />
      <alias value="Ziekenhuis" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-72" />
        <comment value="ziekenhuis" />
      </mapping>
      <mapping>
        <identity value="ehds-imagingreport-v1.0.0" />
        <map value="EHDSImagingReport.body.orderInformation.orderPlacerEHDSHealthProfessional" />
        <comment value="orderPlacerEHDSHealthProfessional (implicit, actual mapping is on orderPlacerEHDSHealthProfessional.professionalRole.organisation.name)" />
      </mapping>
      <mapping>
        <identity value="ehds-imagingreport-v1.0.0" />
        <map value="EHDSImagingReport.body.orderInformation.orderPlacerEHDSOrganisation" />
        <comment value="orderPlacerEHDSOrganisation (implicit, actual mapping is on orderPlacerEHDSOrganisation.name)" />
      </mapping>
    </element>
    <element id="path-lm-Request.Requester.Location">
      <path value="path-lm-Request.Requester.Location" />
      <short value="Location" />
      <definition value="Location of requesting institute." />
      <alias value="Locatie" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-67" />
        <comment value="locatie" />
      </mapping>
    </element>
    <element id="path-lm-Request.ClinicalQuestion">
      <path value="path-lm-Request.ClinicalQuestion" />
      <short value="Clinical question" />
      <definition value="Clinical request information." />
      <alias value="KlinischeVraag" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-139" />
        <comment value="klinischevraag" />
      </mapping>
      <mapping>
        <identity value="ehds-imagingreport-v1.0.0" />
        <map value="EHDSImagingReport.body.orderInformation.clinicalQuestion" />
        <comment value="clinicalQuestion" />
      </mapping>
    </element>
    <element id="path-lm-Request.Specimen">
      <path value="path-lm-Request.Specimen" />
      <short value="Specimen" />
      <definition value="Specimen that will be examined by a laboratory." />
      <alias value="Monster" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="path-dataset-100-alpha3-20260923" />
        <map value="path-dataelement-8" />
        <comment value="Specimen" />
      </mapping>
      <mapping>
        <identity value="ehds-imagingreport-v1.0.0" />
        <map value="EHDSImagingReport.body.specimen" />
        <comment value="specimen" />
      </mapping>
      <mapping>
        <identity value="ehds-specimen-v1.0.0" />
        <map value="EHDSSpecimen" />
        <comment value="EHDSSpecimen" />
      </mapping>
    </element>
    <element id="path-lm-Request.Specimen.SpecimenIdentifier">
      <path value="path-lm-Request.Specimen.SpecimenIdentifier" />
      <short value="Specimen identifier" />
      <definition value="Identifier of the specimen." />
      <comment value="As the specimen is always directly linked to a request in Mercurius, the SpecimenIdentifier value equals the RequestIdentifier value, appended with _-0_. This appendage ensures that the identifier of the primary specimen is easily distinguishable from each sample identifier (as the latter equals the RequestIdentifier, appended with _-[SampleNumber]_). In particular, this identifier attains a value of the form _[TCSB]YY-nnnnn-0_ or _[TCSB]YY-nnnnnn-0_ (based on the laboratory the report originates from), e.g. T26-012345-0." />
      <alias value="MonsterIdentificatienummer" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
      <mapping>
        <identity value="path-dataset-100-alpha3-20260923" />
        <map value="path-dataelement-14" />
        <comment value="SpecimenIdentifier" />
      </mapping>
    </element>
    <element id="path-lm-Request.Specimen.SpecimenMaterial">
      <path value="path-lm-Request.Specimen.SpecimenMaterial" />
      <short value="Specimen material" />
      <definition value="Type of specimen." />
      <comment value="The (string) value present in the source system is translated to a SNOMED CT code using the [Palga On-line Thesaurus](https://www.palga.nl/voor-pathologen/palga-on-line-thesaurus), if possible." />
      <alias value="AardMateriaal" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-76" />
        <comment value="aardmateriaal" />
      </mapping>
      <mapping>
        <identity value="ehds-specimen-v1.0.0" />
        <map value="EHDSSpecimen.type" />
        <comment value="type" />
      </mapping>
    </element>
    <element id="path-lm-Request.Specimen.CollectionDate">
      <path value="path-lm-Request.Specimen.CollectionDate" />
      <short value="Collection date" />
      <definition value="Date when specimen is taken from patient." />
      <alias value="DatumAfname" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-77" />
        <comment value="datumafname" />
      </mapping>
      <mapping>
        <identity value="ehds-specimen-v1.0.0" />
        <map value="EHDSSpecimen.collection.collectedDateTime" />
        <comment value="collectedDateTime" />
      </mapping>
    </element>
    <element id="path-lm-Request.Specimen.ReceivedDate">
      <path value="path-lm-Request.Specimen.ReceivedDate" />
      <short value="Received date" />
      <definition value="Date when specimen is received at the laboratory." />
      <alias value="DatumOntvangst" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-80" />
        <comment value="datumontvangst" />
      </mapping>
      <mapping>
        <identity value="ehds-specimen-v1.0.0" />
        <map value="EHDSSpecimen.receivedDate" />
        <comment value="receivedDate" />
      </mapping>
    </element>
    <element id="path-lm-Request.Specimen.CollectionMethod">
      <path value="path-lm-Request.Specimen.CollectionMethod" />
      <short value="Collection method" />
      <definition value="The way the specimen is collected (biopsy, resection, etc.)." />
      <comment value="The (string) value present in the source system is translated to a SNOMED CT code using the [Palga On-line Thesaurus](https://www.palga.nl/voor-pathologen/palga-on-line-thesaurus), if possible." />
      <alias value="Verkrijgingswijze" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mapping>
        <identity value="mercurius-core-dataset-2-0" />
        <map value="mercurius-core-rubriek-87" />
        <comment value="verkrijgingswijze" />
      </mapping>
      <mapping>
        <identity value="ehds-specimen-v1.0.0" />
        <map value="EHDSSpecimen.collection.method" />
        <comment value="method" />
      </mapping>
    </element>
    <element id="path-lm-Request.Specimen.Sample">
      <path value="path-lm-Request.Specimen.Sample" />
      <short value="Sample" />
      <definition value="Sample taken from the primary specimen. Each sample is sent to the laboratory in a different container." />
      <comment value="If only a single sample is taken and examined by the laboratory, this element SHOULD not be populated, as the primary specimen and sample coincide in that case (and in particular, no sample number is assigned within Mercurius)." />
      <alias value="Sample" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="path-dataset-100-alpha3-20260923" />
        <map value="path-dataelement-15" />
        <comment value="Sample" />
      </mapping>
    </element>
    <element id="path-lm-Request.Specimen.Sample.SampleNumber">
      <path value="path-lm-Request.Specimen.Sample.SampleNumber" />
      <short value="Sample number" />
      <definition value="Number of the sample." />
      <comment value="If a Roman numeral is assigned to a sample in Mercurius, it SHALL be converted to an integer." />
      <alias value="Samplenummer" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="integer" />
      </type>
      <mapping>
        <identity value="path-dataset-100-alpha3-20260923" />
        <map value="path-dataelement-16" />
        <comment value="SampleNumber" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>