<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="pt-lm-ServiceRequest" />
  <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>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
    <valueCode value="can-be-target" />
  </extension>
  <url value="http://medmij.nl/fhir/StructureDefinition/pt-lm-ServiceRequest" />
  <name value="LmServiceRequest" />
  <title value="ServiceRequest" />
  <status value="active" />
  <publisher value="MedMij" />
  <contact>
    <name value="MedMij" />
    <telecom>
      <system value="email" />
      <value value="info@medmij.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Patient-specific clinical order for a digital activity, created by a healthcare professional for a patient." />
  <purpose value="To represent a healthcare professional’s clinical order to start or perform a specific digital activity for a patient. The ServiceRequest captures the intended schedule and patient-specific instructions and can serve as the basis for one or more patient-facing Tasks that track execution and completion." />
  <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="pt-dataset-100-alpha1-20260511" />
    <name value="Dataset Aanbiedertaken MedMij 1.0.0-alpha.1 20260511" />
  </mapping>
  <kind value="logical" />
  <abstract value="true" />
  <type value="http://medmij.nl/fhir/StructureDefinition/pt-lm-ServiceRequest" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <differential>
    <element id="pt-lm-ServiceRequest">
      <path value="pt-lm-ServiceRequest" />
      <short value="ServiceRequest" />
      <definition value="Patient-specific clinical order for a digital activity, created by a healthcare professional for a patient." />
      <alias value="Zorgopdracht" />
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-15" />
        <comment value="ServiceRequest" />
      </mapping>
    </element>
    <element id="pt-lm-ServiceRequest.PatientInstruction">
      <path value="pt-lm-ServiceRequest.PatientInstruction" />
      <short value="Patient-oriented instructions that may differ from or add to the generic activity information (e.g., fasting measurements, preferred timing, preparation steps). These instructions should be shown alongside the Task(s) created from this order." />
      <definition value="Patient-oriented instructions that may differ from or add to the generic activity information (e.g., fasting measurements, preferred timing, preparation steps). These instructions should be shown alongside the Task(s) created from this order." />
      <alias value="PatiëntenInstructie" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-16" />
        <comment value="PatientInstruction" />
      </mapping>
    </element>
    <element id="pt-lm-ServiceRequest.Occurrence[x]">
      <path value="pt-lm-ServiceRequest.Occurrence[x]" />
      <short value="Requested schedule for performing the activity (e.g., duration, frequency, time of day)." />
      <definition value="Requested schedule for performing the activity (e.g., duration, frequency, time of day)." />
      <alias value="Tijdschema" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="Timing" />
      </type>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-17" />
        <comment value="Occurrence" />
      </mapping>
    </element>
    <element id="pt-lm-ServiceRequest.Requester">
      <path value="pt-lm-ServiceRequest.Requester" />
      <short value="Healthcare professional that requests this activity for the patient." />
      <definition value="Healthcare professional that requests this activity for the patient." />
      <alias value="Aanvrager" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-HealthProfessional" />
      </type>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-18" />
        <comment value="Requester" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>