{
  "resourceType": "StructureDefinition",
  "id": "MedicationAdministration",
  "url": "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/MedicationAdministration/v1",
  "version": "1.0",
  "name": "MedicationAdministration",
  "status": "active",
  "date": "2024-01-10T14:25:44.7798514+00:00",
  "description": "This resource is used to gather information about the medication given to the patient.\r\nThe profile is based on the MedicationAdministration Resource.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationAdministration",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationAdministration",
        "path": "MedicationAdministration",
        "definition": "This resource is used to gather information about the medication given to the patient."
      },
      {
        "id": "MedicationAdministration.id",
        "path": "MedicationAdministration.id",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.meta",
        "path": "MedicationAdministration.meta"
      },
      {
        "id": "MedicationAdministration.meta.id",
        "path": "MedicationAdministration.meta.id",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.meta.versionId",
        "path": "MedicationAdministration.meta.versionId",
        "min": 1
      },
      {
        "id": "MedicationAdministration.meta.lastUpdated",
        "path": "MedicationAdministration.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "MedicationAdministration.meta.source",
        "path": "MedicationAdministration.meta.source",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.meta.profile",
        "path": "MedicationAdministration.meta.profile",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.meta.security",
        "path": "MedicationAdministration.meta.security",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.meta.tag",
        "path": "MedicationAdministration.meta.tag",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.implicitRules",
        "path": "MedicationAdministration.implicitRules",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.language",
        "path": "MedicationAdministration.language",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.text",
        "path": "MedicationAdministration.text",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.contained",
        "path": "MedicationAdministration.contained",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.identifier",
        "path": "MedicationAdministration.identifier",
        "definition": "An identifier for this medication administration.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationAdministration.identifier.use",
        "path": "MedicationAdministration.identifier.use",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.identifier.type",
        "path": "MedicationAdministration.identifier.type",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.identifier.system",
        "path": "MedicationAdministration.identifier.system",
        "definition": "Namespace for the identifier value.",
        "min": 1,
        "fixedUri": "http://amphisystems.com/amphi/journaldatasystemid"
      },
      {
        "id": "MedicationAdministration.identifier.value",
        "path": "MedicationAdministration.identifier.value",
        "definition": "Unique value - medication administration id.",
        "min": 1
      },
      {
        "id": "MedicationAdministration.identifier.period",
        "path": "MedicationAdministration.identifier.period",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.identifier.assigner",
        "path": "MedicationAdministration.identifier.assigner",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.instantiates",
        "path": "MedicationAdministration.instantiates",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.partOf",
        "path": "MedicationAdministration.partOf",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.status",
        "path": "MedicationAdministration.status",
        "definition": "A code specifying the state of the medication administration.\r\n\r\nWhen the administration is registered, the status is 'completed'. If the administration is deleted, the status is 'entered-in-error'."
      },
      {
        "id": "MedicationAdministration.statusReason",
        "path": "MedicationAdministration.statusReason",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.category",
        "path": "MedicationAdministration.category",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.medication[x]",
        "path": "MedicationAdministration.medication[x]",
        "definition": "Identifies the medication that was administered.",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/CodeableConcept/v1"
            ]
          },
          {
            "code": "Reference",
            "targetProfile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Medication/v1"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "MedicationAdministration.subject",
        "path": "MedicationAdministration.subject",
        "definition": "The patient receiving the medication.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Patient/v1"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "MedicationAdministration.subject.reference",
        "path": "MedicationAdministration.subject.reference",
        "definition": "Literal reference to the patient resource. Relative URL is being used.",
        "min": 1
      },
      {
        "id": "MedicationAdministration.subject.type",
        "path": "MedicationAdministration.subject.type",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.subject.identifier",
        "path": "MedicationAdministration.subject.identifier",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.subject.display",
        "path": "MedicationAdministration.subject.display",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.context",
        "path": "MedicationAdministration.context",
        "definition": "The encounter between patient and health care provider which the medication administration was performed.",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Encounter/v1"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationAdministration.context.reference",
        "path": "MedicationAdministration.context.reference",
        "definition": "Literal reference to the encounter resource. Relative URL is being used.",
        "min": 1
      },
      {
        "id": "MedicationAdministration.context.type",
        "path": "MedicationAdministration.context.type",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.context.identifier",
        "path": "MedicationAdministration.context.identifier",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.context.display",
        "path": "MedicationAdministration.context.display",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.supportingInformation",
        "path": "MedicationAdministration.supportingInformation",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.effective[x]",
        "path": "MedicationAdministration.effective[x]",
        "short": "Start time of administration",
        "definition": "A specific date which the administration took place.",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "MedicationAdministration.performer",
        "path": "MedicationAdministration.performer",
        "definition": "The clinician/paramedic who performed the medication administration.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationAdministration.performer.function",
        "path": "MedicationAdministration.performer.function",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.performer.actor",
        "path": "MedicationAdministration.performer.actor",
        "definition": "Reference to the clinician / paramedic.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Practitioner/v1"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "MedicationAdministration.performer.actor.reference",
        "path": "MedicationAdministration.performer.actor.reference",
        "definition": "Literal reference to the practitioner resource. Relative URL is being used.",
        "min": 1
      },
      {
        "id": "MedicationAdministration.performer.actor.type",
        "path": "MedicationAdministration.performer.actor.type",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.performer.actor.identifier",
        "path": "MedicationAdministration.performer.actor.identifier",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.performer.actor.display",
        "path": "MedicationAdministration.performer.actor.display",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.reasonCode",
        "path": "MedicationAdministration.reasonCode",
        "max": "1"
      },
      {
        "id": "MedicationAdministration.reasonCode.coding",
        "path": "MedicationAdministration.reasonCode.coding",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.reasonCode.text",
        "path": "MedicationAdministration.reasonCode.text",
        "definition": "Reason for administration.",
        "min": 1
      },
      {
        "id": "MedicationAdministration.reasonReference",
        "path": "MedicationAdministration.reasonReference",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.request",
        "path": "MedicationAdministration.request",
        "definition": "The prescription which may have led to perform the administration.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://PrehospitalSolution.org/fhir/StructureDefinition/MedicationRequest"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "MedicationAdministration.request.reference",
        "path": "MedicationAdministration.request.reference",
        "definition": "Literal reference to the medication request resource. Relative URL is being used.",
        "min": 1
      },
      {
        "id": "MedicationAdministration.request.type",
        "path": "MedicationAdministration.request.type",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.request.identifier",
        "path": "MedicationAdministration.request.identifier",
        "definition": "An identifier for the target resource. This is to ensure it is the correct prescription the administration is referenced to.",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.request.identifier.use",
        "path": "MedicationAdministration.request.identifier.use",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.request.identifier.type",
        "path": "MedicationAdministration.request.identifier.type",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.request.identifier.system",
        "path": "MedicationAdministration.request.identifier.system",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.request.identifier.value",
        "path": "MedicationAdministration.request.identifier.value",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.request.identifier.period",
        "path": "MedicationAdministration.request.identifier.period",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.request.identifier.assigner",
        "path": "MedicationAdministration.request.identifier.assigner",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.request.display",
        "path": "MedicationAdministration.request.display",
        "max": "0",
        "fixedString": "Auto"
      },
      {
        "id": "MedicationAdministration.device",
        "path": "MedicationAdministration.device",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.note",
        "path": "MedicationAdministration.note",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.dosage",
        "path": "MedicationAdministration.dosage",
        "definition": "Details of how medication was taken, e.g. the amount and the administration route of the medication.",
        "min": 1
      },
      {
        "id": "MedicationAdministration.dosage.text",
        "path": "MedicationAdministration.dosage.text",
        "definition": "Free text dosage instruction. The string should consist of '{Medication name} {../dosage.dose.value} {../ dosage.dose.unit} {../dosage.route.display}'. The {medication name} should be the name of the medication which is displayed to the user."
      },
      {
        "id": "MedicationAdministration.dosage.site",
        "path": "MedicationAdministration.dosage.site",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.dosage.route",
        "path": "MedicationAdministration.dosage.route",
        "definition": "Path of substance into body.",
        "min": 1
      },
      {
        "id": "MedicationAdministration.dosage.route.coding",
        "path": "MedicationAdministration.dosage.route.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationAdministration.dosage.route.coding.system",
        "path": "MedicationAdministration.dosage.route.coding.system",
        "definition": "Identity of the terminology system.",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/ValueSet/route-codes"
      },
      {
        "id": "MedicationAdministration.dosage.route.coding.version",
        "path": "MedicationAdministration.dosage.route.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.dosage.route.coding.code",
        "path": "MedicationAdministration.dosage.route.coding.code",
        "definition": "Code defined by the system.",
        "min": 1
      },
      {
        "id": "MedicationAdministration.dosage.route.coding.display",
        "path": "MedicationAdministration.dosage.route.coding.display",
        "definition": "Representation defined by the system."
      },
      {
        "id": "MedicationAdministration.dosage.route.coding.userSelected",
        "path": "MedicationAdministration.dosage.route.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.dosage.route.text",
        "path": "MedicationAdministration.dosage.route.text",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.dosage.method",
        "path": "MedicationAdministration.dosage.method",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.dosage.dose",
        "path": "MedicationAdministration.dosage.dose",
        "definition": "Amount of medication per dose.",
        "min": 1
      },
      {
        "id": "MedicationAdministration.dosage.dose.value",
        "path": "MedicationAdministration.dosage.dose.value",
        "definition": "Numerical value (with implicit precision).",
        "min": 1
      },
      {
        "id": "MedicationAdministration.dosage.dose.unit",
        "path": "MedicationAdministration.dosage.dose.unit",
        "definition": "Unit representation.",
        "min": 1
      },
      {
        "id": "MedicationAdministration.dosage.dose.system",
        "path": "MedicationAdministration.dosage.dose.system",
        "definition": "If set, value is http:// unitsofmeasure.org."
      },
      {
        "id": "MedicationAdministration.dosage.dose.code",
        "path": "MedicationAdministration.dosage.dose.code",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.dosage.rate[x]",
        "path": "MedicationAdministration.dosage.rate[x]",
        "max": "0"
      },
      {
        "id": "MedicationAdministration.eventHistory",
        "path": "MedicationAdministration.eventHistory",
        "max": "0"
      }
    ]
  }
}