{
  "resourceType": "StructureDefinition",
  "id": "pt-lm-ServiceRequest",
  "text": {
    "status": "empty",
    "div": "<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>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-be-target"
    }
  ],
  "url": "http://medmij.nl/fhir/StructureDefinition/pt-lm-ServiceRequest",
  "name": "LmServiceRequest",
  "title": "ServiceRequest",
  "status": "active",
  "publisher": "MedMij",
  "contact": [
    {
      "name": "MedMij",
      "telecom": [
        {
          "system": "email",
          "value": "info@medmij.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Patient-specific clinical order for a digital activity, created by a healthcare professional for a patient.",
  "purpose": "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": "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": "4.0.1",
  "mapping": [
    {
      "identity": "pt-dataset-100-alpha1-20260511",
      "name": "Dataset Aanbiedertaken MedMij 1.0.0-alpha.1 20260511"
    }
  ],
  "kind": "logical",
  "abstract": true,
  "type": "http://medmij.nl/fhir/StructureDefinition/pt-lm-ServiceRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "pt-lm-ServiceRequest",
        "path": "pt-lm-ServiceRequest",
        "short": "ServiceRequest",
        "definition": "Patient-specific clinical order for a digital activity, created by a healthcare professional for a patient.",
        "alias": [
          "Zorgopdracht"
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-15",
            "comment": "ServiceRequest"
          }
        ]
      },
      {
        "id": "pt-lm-ServiceRequest.PatientInstruction",
        "path": "pt-lm-ServiceRequest.PatientInstruction",
        "short": "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": "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": [
          "PatiëntenInstructie"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-16",
            "comment": "PatientInstruction"
          }
        ]
      },
      {
        "id": "pt-lm-ServiceRequest.Occurrence[x]",
        "path": "pt-lm-ServiceRequest.Occurrence[x]",
        "short": "Requested schedule for performing the activity (e.g., duration, frequency, time of day).",
        "definition": "Requested schedule for performing the activity (e.g., duration, frequency, time of day).",
        "alias": [
          "Tijdschema"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          },
          {
            "code": "Timing"
          }
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-17",
            "comment": "Occurrence"
          }
        ]
      },
      {
        "id": "pt-lm-ServiceRequest.Requester",
        "path": "pt-lm-ServiceRequest.Requester",
        "short": "Healthcare professional that requests this activity for the patient.",
        "definition": "Healthcare professional that requests this activity for the patient.",
        "alias": [
          "Aanvrager"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-HealthProfessional"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-18",
            "comment": "Requester"
          }
        ]
      }
    ]
  }
}