{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Medicationordersummary-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-medicationordersummary-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-CLUSTER.medication_order_summary.v0"
    }
  ],
  "version": "0",
  "name": "Medicationordersummary",
  "title": "Medication order summary",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Overall summary of the medication order.",
  "purpose": "To provide an overall summary of the status and key dates, related to a medication order.",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "openEHR",
      "uri": "http://openehr.org",
      "name": "openEHR Mapping"
    },
    {
      "identity": "openEHR-natural",
      "uri": "http://openehr.org",
      "name": "openEHR natural path"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "StructureDefinition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "snapshot": {
    "element": [
      {
        "id": "Medication_order_summary",
        "path": "Medication_order_summary",
        "short": "Medication order summary",
        "definition": "Overall summary of the medication order.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Medication_order_summary",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Medication_order_summary.Order_status",
        "path": "Medication_order_summary.Order_status",
        "short": "Order status",
        "definition": "The overall status of this order.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Medication_order_summary.Order_status",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Medication_order_summary.Order_status.value",
        "path": "Medication_order_summary.Order_status.value",
        "short": "Order status",
        "definition": "The overall status of this order.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Medication_order_summary.Order_status.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Medication_order_summary.Key_order_dates",
        "path": "Medication_order_summary.Key_order_dates",
        "short": "Key order dates",
        "definition": "Key medication event dates.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Medication_order_summary.Key_order_dates",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Medication_order_summary.Key_order_dates.name",
        "path": "Medication_order_summary.Key_order_dates.name",
        "short": "Key order dates",
        "definition": "Key medication event dates.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Medication_order_summary.Key_order_dates.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Medication_order_summary.Key_order_dates.value",
        "path": "Medication_order_summary.Key_order_dates.value",
        "short": "Key order dates",
        "definition": "Key medication event dates.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Medication_order_summary.Key_order_dates.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Medication_order_summary.Date_reported",
        "path": "Medication_order_summary.Date_reported",
        "short": "Date reported",
        "definition": "The date at which this medication summary was reported to be correct.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Medication_order_summary.Date_reported",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Medication_order_summary.Date_reported.value",
        "path": "Medication_order_summary.Date_reported.value",
        "short": "Date reported",
        "definition": "The date at which this medication summary was reported to be correct.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Medication_order_summary.Date_reported.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}