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-patientmedicationlist",
"name": "PatientMedicationList",
"status": "draft",
"fhirVersion": "5.0.0",
"kind": "resource",
"abstract": false,
"type": "List",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "List.contained",
"path": "List.contained",
"slicing": {
"discriminator": [
{
"type": "type",
"path": "$this"
}
],
"rules": "open"
},
"short": "Allergy or Intolerance (generally: Risk of adverse reaction to a substance)",
"definition": "Risk of harmful or undesirable physiological response which is specific to an individual and associated with exposure to a substance.",
"comment": "Substances include, but are not limited to: a therapeutic substance administered correctly at an appropriate dosage for the individual; food; material derived from plants or animals; or venom from insect stings.",
"alias": [
"MedicationStatement",
"Allergy",
"Intolerance",
"Adverse Reaction"
],
"min": 1,
"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": "Entity, Role, or Act"
},
{
"identity": "workflow",
"map": "Event"
},
{
"identity": "w5",
"map": "clinical.medication"
},
{
"identity": "rim",
"map": "SubstanceAdministration"
},
{
"identity": "w5",
"map": "clinical.general"
},
{
"identity": "rim",
"map": "Observation[classCode=OBS, moodCode=EVN]"
}
]
},
{
"id": "List.contained:MedicationStatement",
"path": "List.contained",
"sliceName": "MedicationStatement",
"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,
"type": [
{
"code": "Resource",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationstatement"
]
}
]
},
{
"id": "List.contained:AllergyIntolerance",
"path": "List.contained",
"sliceName": "AllergyIntolerance",
"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.",
"type": [
{
"code": "Resource",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-allergyintolerance"
]
}
]
},
{
"id": "List.contained:Flag",
"path": "List.contained",
"sliceName": "Flag",
"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.",
"type": [
{
"code": "Resource",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-flag"
]
}
]
},
{
"id": "List.extension",
"path": "List.extension",
"min": 1
},
{
"id": "List.extension:cMISAvailability",
"path": "List.extension",
"sliceName": "cMISAvailability",
"min": 1,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/ext-cmisavailability"
]
}
]
},
{
"id": "List.extension:assessmentOfMedicationKnowledge",
"path": "List.extension",
"sliceName": "assessmentOfMedicationKnowledge",
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/ext-assessmentofmedicationknowledge"
]
}
]
},
{
"id": "List.extension:interventions",
"path": "List.extension",
"sliceName": "interventions",
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/ext-interventions"
]
}
]
},
{
"id": "List.extension:medicationManagementIssues",
"path": "List.extension",
"sliceName": "medicationManagementIssues",
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/ext-medicationmanagementissues"
]
}
]
},
{
"id": "List.extension:monitoringPlan",
"path": "List.extension",
"sliceName": "monitoringPlan",
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/ext-monitoringplan"
]
}
]
},
{
"id": "List.extension:reviewedUpon",
"path": "List.extension",
"sliceName": "reviewedUpon",
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/ext-reviewedupon"
]
}
]
},
{
"id": "List.extension:sourceOfMedicationList",
"path": "List.extension",
"sliceName": "sourceOfMedicationList",
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/ext-sourceofmedicationlist"
]
}
]
},
{
"id": "List.identifier",
"path": "List.identifier",
"min": 1,
"max": "1"
},
{
"id": "List.identifier.id",
"path": "List.identifier.id",
"max": "0"
},
{
"id": "List.identifier.extension",
"path": "List.identifier.extension",
"max": "0"
},
{
"id": "List.identifier.use",
"path": "List.identifier.use",
"max": "0"
},
{
"id": "List.identifier.type",
"path": "List.identifier.type",
"max": "0"
},
{
"id": "List.identifier.system",
"path": "List.identifier.system",
"min": 1
},
{
"id": "List.identifier.value",
"path": "List.identifier.value",
"min": 1
},
{
"id": "List.identifier.period",
"path": "List.identifier.period",
"max": "0"
},
{
"id": "List.identifier.assigner",
"path": "List.identifier.assigner",
"max": "0"
},
{
"id": "List.mode",
"path": "List.mode",
"fixedCode": "working"
},
{
"id": "List.title",
"path": "List.title",
"max": "0"
},
{
"id": "List.code",
"path": "List.code",
"min": 1
},
{
"id": "List.code.id",
"path": "List.code.id",
"max": "0"
},
{
"id": "List.code.extension",
"path": "List.code.extension",
"max": "0"
},
{
"id": "List.code.coding",
"path": "List.code.coding",
"min": 1,
"max": "1"
},
{
"id": "List.code.coding.id",
"path": "List.code.coding.id",
"max": "0"
},
{
"id": "List.code.coding.extension",
"path": "List.code.coding.extension",
"max": "0"
},
{
"id": "List.code.coding.system",
"path": "List.code.coding.system",
"min": 1
},
{
"id": "List.code.coding.version",
"path": "List.code.coding.version",
"max": "0"
},
{
"id": "List.code.coding.code",
"path": "List.code.coding.code",
"min": 1
},
{
"id": "List.code.coding.display",
"path": "List.code.coding.display",
"min": 1
},
{
"id": "List.code.coding.userSelected",
"path": "List.code.coding.userSelected",
"max": "0"
},
{
"id": "List.code.text",
"path": "List.code.text",
"max": "0"
},
{
"id": "List.subject",
"path": "List.subject",
"min": 1,
"max": "1",
"type": [
{
"code": "Reference",
"targetProfile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-patient"
]
}
]
},
{
"id": "List.subject.id",
"path": "List.subject.id",
"max": "0"
},
{
"id": "List.subject.extension",
"path": "List.subject.extension",
"max": "0"
},
{
"id": "List.subject.identifier.id",
"path": "List.subject.identifier.id",
"max": "0"
},
{
"id": "List.subject.identifier.extension",
"path": "List.subject.identifier.extension",
"max": "0"
},
{
"id": "List.subject.identifier.use",
"path": "List.subject.identifier.use",
"max": "0"
},
{
"id": "List.subject.identifier.type",
"path": "List.subject.identifier.type",
"max": "0"
},
{
"id": "List.subject.identifier.system",
"path": "List.subject.identifier.system",
"min": 1,
"fixedUri": "https://fhir.synapxe.sg/NamingSystem/nric"
},
{
"id": "List.subject.identifier.value",
"path": "List.subject.identifier.value",
"min": 1
},
{
"id": "List.subject.identifier.period",
"path": "List.subject.identifier.period",
"max": "0"
},
{
"id": "List.subject.identifier.assigner",
"path": "List.subject.identifier.assigner",
"max": "0"
},
{
"id": "List.subject.display",
"path": "List.subject.display",
"max": "0"
},
{
"id": "List.encounter",
"path": "List.encounter",
"min": 1,
"type": [
{
"code": "Reference",
"targetProfile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-encounter"
]
}
]
},
{
"id": "List.encounter.id",
"path": "List.encounter.id",
"max": "0"
},
{
"id": "List.encounter.extension",
"path": "List.encounter.extension",
"max": "0"
},
{
"id": "List.encounter.type",
"path": "List.encounter.type",
"max": "0"
},
{
"id": "List.encounter.identifier.id",
"path": "List.encounter.identifier.id",
"max": "0"
},
{
"id": "List.encounter.identifier.extension",
"path": "List.encounter.identifier.extension",
"max": "0"
},
{
"id": "List.encounter.identifier.use",
"path": "List.encounter.identifier.use",
"max": "0"
},
{
"id": "List.encounter.identifier.type",
"path": "List.encounter.identifier.type",
"max": "0"
},
{
"id": "List.encounter.identifier.system",
"path": "List.encounter.identifier.system",
"min": 1,
"fixedUri": "https://fhir.synapxe.sg/NamingSystem/encounterID"
},
{
"id": "List.encounter.identifier.value",
"path": "List.encounter.identifier.value",
"min": 1
},
{
"id": "List.encounter.identifier.period",
"path": "List.encounter.identifier.period",
"max": "0"
},
{
"id": "List.encounter.identifier.assigner",
"path": "List.encounter.identifier.assigner",
"max": "0"
},
{
"id": "List.encounter.display",
"path": "List.encounter.display",
"max": "0"
},
{
"id": "List.date",
"path": "List.date",
"min": 1
},
{
"id": "List.source",
"path": "List.source",
"min": 1,
"type": [
{
"code": "Reference",
"targetProfile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-practitioner"
]
}
]
},
{
"id": "List.source.id",
"path": "List.source.id",
"max": "0"
},
{
"id": "List.source.extension",
"path": "List.source.extension",
"max": "0"
},
{
"id": "List.source.identifier.id",
"path": "List.source.identifier.id",
"max": "0"
},
{
"id": "List.source.identifier.extension",
"path": "List.source.identifier.extension",
"max": "0"
},
{
"id": "List.source.identifier.use",
"path": "List.source.identifier.use",
"max": "0"
},
{
"id": "List.source.identifier.type",
"path": "List.source.identifier.type",
"max": "0"
},
{
"id": "List.source.identifier.system",
"path": "List.source.identifier.system",
"min": 1,
"fixedUri": "https://fhir.synapxe.sg/NamingSystem/encounter"
},
{
"id": "List.source.identifier.value",
"path": "List.source.identifier.value",
"min": 1
},
{
"id": "List.source.identifier.period",
"path": "List.source.identifier.period",
"max": "0"
},
{
"id": "List.source.identifier.assigner",
"path": "List.source.identifier.assigner",
"max": "0"
},
{
"id": "List.source.display",
"path": "List.source.display",
"max": "0"
},
{
"id": "List.orderedBy",
"path": "List.orderedBy",
"max": "0"
},
{
"id": "List.note",
"path": "List.note",
"min": 1
},
{
"id": "List.note.id",
"path": "List.note.id",
"max": "0"
},
{
"id": "List.note.extension:noteType",
"path": "List.note.extension",
"sliceName": "noteType",
"type": [
{
"code": "Extension",
"profile": [
"https://fhir.synapxe.sg/StructureDefinition/ext-notetype"
]
}
],
"isModifier": false
},
{
"id": "List.note.author[x]",
"path": "List.note.author[x]",
"max": "0"
},
{
"id": "List.note.time",
"path": "List.note.time",
"max": "0"
},
{
"id": "List.entry",
"path": "List.entry",
"slicing": {
"discriminator": [
{
"type": "type",
"path": "item.reference"
}
],
"rules": "open"
},
"min": 1
},
{
"id": "List.entry.id",
"path": "List.entry.id",
"max": "0"
},
{
"id": "List.entry.extension",
"path": "List.entry.extension",
"max": "0"
},
{
"id": "List.entry.modifierExtension",
"path": "List.entry.modifierExtension",
"max": "0"
},
{
"id": "List.entry.flag",
"path": "List.entry.flag",
"max": "0"
},
{
"id": "List.entry.deleted",
"path": "List.entry.deleted",
"max": "0"
},
{
"id": "List.entry.date",
"path": "List.entry.date",
"min": 1
},
{
"id": "List.entry.item.id",
"path": "List.entry.item.id",
"max": "0"
},
{
"id": "List.entry.item.extension",
"path": "List.entry.item.extension",
"max": "0"
},
{
"id": "List.entry.item.reference",
"path": "List.entry.item.reference",
"min": 1
},
{
"id": "List.entry.item.type",
"path": "List.entry.item.type",
"max": "0"
},
{
"id": "List.entry.item.identifier",
"path": "List.entry.item.identifier",
"max": "0"
},
{
"id": "List.entry.item.identifier.id",
"path": "List.entry.item.identifier.id",
"max": "0"
},
{
"id": "List.entry.item.identifier.extension",
"path": "List.entry.item.identifier.extension",
"max": "0"
},
{
"id": "List.entry.item.identifier.use",
"path": "List.entry.item.identifier.use",
"max": "0"
},
{
"id": "List.entry.item.identifier.type",
"path": "List.entry.item.identifier.type",
"max": "0"
},
{
"id": "List.entry.item.identifier.system",
"path": "List.entry.item.identifier.system",
"min": 1
},
{
"id": "List.entry.item.identifier.value",
"path": "List.entry.item.identifier.value",
"min": 1
},
{
"id": "List.entry.item.identifier.period",
"path": "List.entry.item.identifier.period",
"max": "0"
},
{
"id": "List.entry.item.identifier.assigner",
"path": "List.entry.item.identifier.assigner",
"max": "0"
},
{
"id": "List.entry.item.display",
"path": "List.entry.item.display",
"max": "0"
},
{
"id": "List.entry:medicationStatement",
"path": "List.entry",
"sliceName": "medicationStatement",
"min": 1
},
{
"id": "List.entry:medicationStatement.id",
"path": "List.entry.id",
"max": "0"
},
{
"id": "List.entry:medicationStatement.extension",
"path": "List.entry.extension",
"max": "0"
},
{
"id": "List.entry:medicationStatement.modifierExtension",
"path": "List.entry.modifierExtension",
"max": "0"
},
{
"id": "List.entry:medicationStatement.flag",
"path": "List.entry.flag",
"max": "0"
},
{
"id": "List.entry:medicationStatement.deleted",
"path": "List.entry.deleted",
"max": "0"
},
{
"id": "List.entry:medicationStatement.date",
"path": "List.entry.date",
"min": 1
},
{
"id": "List.entry:medicationStatement.item",
"path": "List.entry.item",
"type": [
{
"code": "Reference",
"targetProfile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-medicationstatement"
]
}
]
},
{
"id": "List.entry:medicationStatement.item.id",
"path": "List.entry.item.id",
"max": "0"
},
{
"id": "List.entry:medicationStatement.item.extension",
"path": "List.entry.item.extension",
"max": "0"
},
{
"id": "List.entry:medicationStatement.item.reference",
"path": "List.entry.item.reference",
"min": 1
},
{
"id": "List.entry:medicationStatement.item.type",
"path": "List.entry.item.type",
"max": "0"
},
{
"id": "List.entry:medicationStatement.item.identifier",
"path": "List.entry.item.identifier",
"max": "0"
},
{
"id": "List.entry:medicationStatement.item.display",
"path": "List.entry.item.display",
"max": "0"
},
{
"id": "List.entry:drugAllergy",
"path": "List.entry",
"sliceName": "drugAllergy"
},
{
"id": "List.entry:drugAllergy.id",
"path": "List.entry.id",
"max": "0"
},
{
"id": "List.entry:drugAllergy.extension",
"path": "List.entry.extension",
"max": "0"
},
{
"id": "List.entry:drugAllergy.modifierExtension",
"path": "List.entry.modifierExtension",
"max": "0"
},
{
"id": "List.entry:drugAllergy.flag",
"path": "List.entry.flag",
"max": "0"
},
{
"id": "List.entry:drugAllergy.deleted",
"path": "List.entry.deleted",
"max": "0"
},
{
"id": "List.entry:drugAllergy.date",
"path": "List.entry.date",
"min": 1
},
{
"id": "List.entry:drugAllergy.item",
"path": "List.entry.item",
"type": [
{
"code": "Reference",
"targetProfile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-allergyintolerance"
]
}
]
},
{
"id": "List.entry:drugAllergy.item.id",
"path": "List.entry.item.id",
"max": "0"
},
{
"id": "List.entry:drugAllergy.item.extension",
"path": "List.entry.item.extension",
"max": "0"
},
{
"id": "List.entry:drugAllergy.item.reference",
"path": "List.entry.item.reference",
"min": 1
},
{
"id": "List.entry:drugAllergy.item.type",
"path": "List.entry.item.type",
"max": "0"
},
{
"id": "List.entry:drugAllergy.item.identifier",
"path": "List.entry.item.identifier",
"max": "0"
},
{
"id": "List.entry:drugAllergy.item.display",
"path": "List.entry.item.display",
"max": "0"
},
{
"id": "List.entry:medicalAlert",
"path": "List.entry",
"sliceName": "medicalAlert"
},
{
"id": "List.entry:medicalAlert.id",
"path": "List.entry.id",
"max": "0"
},
{
"id": "List.entry:medicalAlert.extension",
"path": "List.entry.extension",
"max": "0"
},
{
"id": "List.entry:medicalAlert.modifierExtension",
"path": "List.entry.modifierExtension",
"max": "0"
},
{
"id": "List.entry:medicalAlert.flag",
"path": "List.entry.flag",
"max": "0"
},
{
"id": "List.entry:medicalAlert.deleted",
"path": "List.entry.deleted",
"max": "0"
},
{
"id": "List.entry:medicalAlert.date",
"path": "List.entry.date",
"min": 1
},
{
"id": "List.entry:medicalAlert.item",
"path": "List.entry.item",
"type": [
{
"code": "Reference",
"targetProfile": [
"https://fhir.synapxe.sg/StructureDefinition/profile-flag"
]
}
]
},
{
"id": "List.entry:medicalAlert.item.id",
"path": "List.entry.item.id",
"max": "0"
},
{
"id": "List.entry:medicalAlert.item.extension",
"path": "List.entry.item.extension",
"max": "0"
},
{
"id": "List.entry:medicalAlert.item.reference",
"path": "List.entry.item.reference",
"min": 1
},
{
"id": "List.entry:medicalAlert.item.type",
"path": "List.entry.item.type",
"max": "0"
},
{
"id": "List.entry:medicalAlert.item.identifier",
"path": "List.entry.item.identifier",
"max": "0"
},
{
"id": "List.entry:medicalAlert.item.display",
"path": "List.entry.item.display",
"max": "0"
},
{
"id": "List.emptyReason",
"path": "List.emptyReason",
"max": "0"
}
]
}
}