FHIR IG analytics
Resources that use this resource
Resources that this resource uses
Narrative
No narrative content found in resource
Source1
{
"resourceType": "StructureDefinition",
"url": "https://fhir.synapxe.sg/StructureDefinition/profile-medicationadministration",
"name": "MedicationAdministration",
"status": "draft",
"fhirVersion": "5.0.0",
"kind": "resource",
"abstract": false,
"type": "MedicationAdministration",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "MedicationAdministration.contained",
"path": "MedicationAdministration.contained",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "type"
}
],
"rules": "open"
},
"short": "Definition of a Medication",
"definition": "This resource is primarily used for the identification and definition of a medication, including ingredients, for the purposes of prescribing, dispensing, and administering a medication as well as for making statements about medication use.",
"min": 1,
"type": [
{
"code": "Resource",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medication"
]
}
],
"constraint": [
{
"key": "dom-2",
"severity": "error",
"human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
"expression": "contained.contained.empty()",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
},
{
"key": "dom-4",
"severity": "error",
"human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
"expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
},
{
"key": "dom-3",
"severity": "error",
"human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
"expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
},
{
"key": "dom-6",
"severity": "warning",
"human": "A resource should have narrative for robust management",
"expression": "text.`div`.exists()",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
},
{
"key": "dom-5",
"severity": "error",
"human": "If a resource is contained in another resource, it SHALL NOT have a security label",
"expression": "contained.meta.security.empty()",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}
],
"mapping": [
{
"identity": "rim",
"map": "n/a"
},
{
"identity": "rim",
"map": "Entity. Role, or Act"
},
{
"identity": "rim",
"map": "N/A"
},
{
"identity": "rim",
"map": "Entity, Role, or Act"
},
{
"identity": "script10.6",
"map": "NewRx/MedicationPrescribed\r-or-\rRxFill/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationPrescribed"
},
{
"identity": "w5",
"map": "clinical.medication"
},
{
"identity": "rim",
"map": "ManufacturedProduct[classCode=ADMM]"
}
]
},
{
"id": "MedicationAdministration.contained:Medication",
"path": "MedicationAdministration.contained",
"sliceName": "Medication",
"short": "Contained, inline Resources",
"definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.",
"min": 1,
"max": "1",
"type": [
{
"code": "Resource",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medication"
]
}
]
},
{
"id": "MedicationAdministration.contained:Device",
"path": "MedicationAdministration.contained",
"sliceName": "Device",
"short": "Contained, inline Resources",
"definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.",
"max": "1",
"type": [
{
"code": "Resource",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-device"
]
}
]
},
{
"id": "MedicationAdministration.extension",
"path": "MedicationAdministration.extension",
"max": "0"
},
{
"id": "MedicationAdministration.modifierExtension",
"path": "MedicationAdministration.modifierExtension",
"max": "0"
},
{
"id": "MedicationAdministration.identifier",
"path": "MedicationAdministration.identifier",
"min": 1,
"max": "1"
},
{
"id": "MedicationAdministration.identifier.id",
"path": "MedicationAdministration.identifier.id",
"max": "0"
},
{
"id": "MedicationAdministration.identifier.extension",
"path": "MedicationAdministration.identifier.extension",
"max": "0"
},
{
"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",
"min": 1
},
{
"id": "MedicationAdministration.identifier.value",
"path": "MedicationAdministration.identifier.value",
"min": 1
},
{
"id": "MedicationAdministration.identifier.period",
"path": "MedicationAdministration.identifier.period",
"max": "0"
},
{
"id": "MedicationAdministration.identifier.assigner",
"path": "MedicationAdministration.identifier.assigner",
"max": "0"
},
{
"id": "MedicationAdministration.basedOn",
"path": "MedicationAdministration.basedOn",
"max": "0"
},
{
"id": "MedicationAdministration.partOf",
"path": "MedicationAdministration.partOf",
"max": "0"
},
{
"id": "MedicationAdministration.statusReason",
"path": "MedicationAdministration.statusReason",
"max": "0"
},
{
"id": "MedicationAdministration.category",
"path": "MedicationAdministration.category",
"max": "0"
},
{
"id": "MedicationAdministration.medication",
"path": "MedicationAdministration.medication",
"type": [
{
"code": "CodeableReference",
"targetProfile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medication"
]
}
]
},
{
"id": "MedicationAdministration.medication.id",
"path": "MedicationAdministration.medication.id",
"max": "0"
},
{
"id": "MedicationAdministration.medication.extension",
"path": "MedicationAdministration.medication.extension",
"max": "0"
},
{
"id": "MedicationAdministration.medication.concept",
"path": "MedicationAdministration.medication.concept",
"max": "0"
},
{
"id": "MedicationAdministration.medication.reference",
"path": "MedicationAdministration.medication.reference",
"min": 1,
"type": [
{
"code": "Reference",
"targetProfile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medication"
],
"aggregation": [
"contained"
]
}
]
},
{
"id": "MedicationAdministration.subject",
"path": "MedicationAdministration.subject",
"type": [
{
"code": "Reference",
"targetProfile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-patient"
]
}
]
},
{
"id": "MedicationAdministration.encounter",
"path": "MedicationAdministration.encounter",
"max": "0"
},
{
"id": "MedicationAdministration.supportingInformation",
"path": "MedicationAdministration.supportingInformation",
"max": "0"
},
{
"id": "MedicationAdministration.occurence[x]",
"path": "MedicationAdministration.occurence[x]",
"type": [
{
"code": "dateTime"
}
]
},
{
"id": "MedicationAdministration.recorded",
"path": "MedicationAdministration.recorded",
"max": "0"
},
{
"id": "MedicationAdministration.isSubPotent",
"path": "MedicationAdministration.isSubPotent",
"max": "0"
},
{
"id": "MedicationAdministration.subPotentReason",
"path": "MedicationAdministration.subPotentReason",
"max": "0"
},
{
"id": "MedicationAdministration.performer",
"path": "MedicationAdministration.performer",
"min": 1
},
{
"id": "MedicationAdministration.performer.actor",
"path": "MedicationAdministration.performer.actor",
"type": [
{
"code": "CodeableReference",
"targetProfile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-practitioner"
]
}
]
},
{
"id": "MedicationAdministration.reason",
"path": "MedicationAdministration.reason",
"max": "0"
},
{
"id": "MedicationAdministration.request",
"path": "MedicationAdministration.request",
"max": "0"
},
{
"id": "MedicationAdministration.device",
"path": "MedicationAdministration.device",
"max": "1",
"type": [
{
"code": "CodeableReference",
"targetProfile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-device"
]
}
]
},
{
"id": "MedicationAdministration.device.id",
"path": "MedicationAdministration.device.id",
"max": "0"
},
{
"id": "MedicationAdministration.device.extension",
"path": "MedicationAdministration.device.extension",
"max": "0"
},
{
"id": "MedicationAdministration.device.concept",
"path": "MedicationAdministration.device.concept",
"max": "0"
},
{
"id": "MedicationAdministration.device.reference",
"path": "MedicationAdministration.device.reference",
"min": 1
},
{
"id": "MedicationAdministration.note.author[x]",
"path": "MedicationAdministration.note.author[x]",
"type": [
{
"code": "Reference",
"targetProfile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-practitioner"
]
},
{
"code": "string"
}
]
},
{
"id": "MedicationAdministration.dosage",
"path": "MedicationAdministration.dosage",
"min": 1
},
{
"id": "MedicationAdministration.dosage.id",
"path": "MedicationAdministration.dosage.id",
"max": "0"
},
{
"id": "MedicationAdministration.dosage.extension",
"path": "MedicationAdministration.dosage.extension",
"max": "0"
},
{
"id": "MedicationAdministration.dosage.modifierExtension",
"path": "MedicationAdministration.dosage.modifierExtension",
"max": "0"
},
{
"id": "MedicationAdministration.dosage.site",
"path": "MedicationAdministration.dosage.site",
"max": "0"
},
{
"id": "MedicationAdministration.dosage.method",
"path": "MedicationAdministration.dosage.method",
"max": "0"
},
{
"id": "MedicationAdministration.dosage.dose",
"path": "MedicationAdministration.dosage.dose",
"min": 1
},
{
"id": "MedicationAdministration.dosage.dose.id",
"path": "MedicationAdministration.dosage.dose.id",
"max": "0"
},
{
"id": "MedicationAdministration.dosage.dose.extension",
"path": "MedicationAdministration.dosage.dose.extension",
"max": "0"
},
{
"id": "MedicationAdministration.dosage.dose.value",
"path": "MedicationAdministration.dosage.dose.value",
"min": 1
},
{
"id": "MedicationAdministration.dosage.dose.unit",
"path": "MedicationAdministration.dosage.dose.unit",
"min": 1
},
{
"id": "MedicationAdministration.dosage.dose.system",
"path": "MedicationAdministration.dosage.dose.system",
"min": 1
},
{
"id": "MedicationAdministration.dosage.dose.code",
"path": "MedicationAdministration.dosage.dose.code",
"min": 1
},
{
"id": "MedicationAdministration.dosage.rate[x]",
"path": "MedicationAdministration.dosage.rate[x]",
"type": [
{
"code": "Quantity"
}
]
},
{
"id": "MedicationAdministration.eventHistory",
"path": "MedicationAdministration.eventHistory",
"max": "0"
}
]
}
}