{
  "resourceType": "StructureDefinition",
  "id": "pt-lm-ExecutionOrder",
  "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-ExecutionOrder",
  "name": "PtLmExecutionOrder",
  "title": "Execution Order",
  "status": "draft",
  "publisher": "MedMij",
  "contact": [
    {
      "name": "MedMij",
      "telecom": [
        {
          "system": "email",
          "value": "info@medmij.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Patient-specific execution order for a digital activity, created by a healthcare professional for a patient.",
  "purpose": "This LogicalModel represents the ExecutionOrder building block for patient use cases in the context of the data service Provider Tasks (Aanbiedertaken).",
  "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.2 20260511"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://medmij.nl/fhir/StructureDefinition/pt-lm-ExecutionOrder",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "pt-lm-ExecutionOrder",
        "path": "pt-lm-ExecutionOrder",
        "short": "Execution order",
        "definition": "Patient-specific execution order for a digital activity, created by a healthcare professional for a patient.",
        "alias": [
          "Uitvoeringsopdracht"
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-15",
            "comment": "ExecutionOrder"
          }
        ]
      },
      {
        "id": "pt-lm-ExecutionOrder.Identifier",
        "path": "pt-lm-ExecutionOrder.Identifier",
        "short": "Identifier",
        "definition": "Business identifier for this execution order.",
        "alias": [
          "Identificatie"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-32",
            "comment": "Identifier"
          }
        ]
      },
      {
        "id": "pt-lm-ExecutionOrder.PatientInstruction",
        "path": "pt-lm-ExecutionOrder.PatientInstruction",
        "short": "Patient instruction",
        "definition": "Patient-oriented instructions that may differ from or add to the generic activity information. These instructions should be shown alongside the task(s) created from this order.",
        "alias": [
          "PatiëntenInstructie"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "pt-dataset-100-alpha1-20260511",
            "map": "pt-dataelement-16",
            "comment": "PatientInstruction"
          }
        ]
      },
      {
        "id": "pt-lm-ExecutionOrder.Schedule[x]",
        "path": "pt-lm-ExecutionOrder.Schedule[x]",
        "short": "Schedule",
        "definition": "Requested schedule for performing the activity.",
        "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": "Schedule"
          }
        ]
      },
      {
        "id": "pt-lm-ExecutionOrder.Requester",
        "path": "pt-lm-ExecutionOrder.Requester",
        "short": "Requester",
        "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"
          }
        ]
      }
    ]
  }
}