{
"description": "Minimal medication overview payload for use within a QR code payload. Based on the IHE Pharmacy Medication Overview logical model, with short element labels (one or two letters) and simple data",
"_filename": "StructureDefinition-MedicationOverviewMin.json",
"package_name": "smart.who.int.ph4h",
"date": "2026-07-09T08:34:46+00:00",
"derivation": "specialization",
"publisher": "WHO",
"fhirVersion": "4.0.1",
"name": "MedicationOverviewMin",
"abstract": false,
"type": "http://smart.who.int/ph4h/StructureDefinition/MedicationOverviewMin",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Medication Overview (Minimal)",
"package_version": "0.9.9",
"snapshot": {
"element": [ {
"constraint": [ {
"key": "MedicationOverviewMin-TreatmentLines",
"human": "If more than one medication treatment line is present, there can be a maximum of 3 medication treatment lines to ensure the overall payload remains compact enough for encoding in a QR code.",
"source": "http://smart.who.int/ph4h/StructureDefinition/MedicationOverviewMin",
"severity": "error",
"expression": "m.count() <= 3"
} ],
"path": "MedicationOverviewMin",
"min": 0,
"definition": "Minimal medication overview payload for use within a QR code payload. Based on the IHE Pharmacy Medication Overview logical model, with short element labels (one or two letters) and simple data",
"isModifier": false,
"short": "Medication Overview (Minimal)",
"max": "*",
"id": "MedicationOverviewMin",
"base": {
"max": "*",
"min": 0,
"path": "Base"
}
}, {
"id": "MedicationOverviewMin.n",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "MedicationOverviewMin.n"
},
"path": "MedicationOverviewMin.n",
"type": [ {
"code": "string"
} ],
"short": "Patient Name",
"definition": "Patient Name"
}, {
"id": "MedicationOverviewMin.dob",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "MedicationOverviewMin.dob"
},
"path": "MedicationOverviewMin.dob",
"type": [ {
"code": "date"
} ],
"short": "Patient Date of Birth",
"definition": "Patient Date of Birth"
}, {
"path": "MedicationOverviewMin.s",
"min": 1,
"definition": "Sex",
"short": "Sex",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender"
},
"max": "1",
"id": "MedicationOverviewMin.s",
"base": {
"max": "1",
"min": 1,
"path": "MedicationOverviewMin.s"
}
}, {
"path": "MedicationOverviewMin.nt",
"min": 0,
"definition": "Nationality",
"short": "Nationality",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/iso3166-1-3"
},
"max": "1",
"id": "MedicationOverviewMin.nt",
"base": {
"max": "1",
"min": 0,
"path": "MedicationOverviewMin.nt"
}
}, {
"id": "MedicationOverviewMin.id",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "MedicationOverviewMin.id"
},
"path": "MedicationOverviewMin.id",
"type": [ {
"code": "string"
} ],
"short": "National Identifier",
"definition": "National Identifier"
}, {
"path": "MedicationOverviewMin.dt",
"min": 0,
"definition": "Type of national identifier (e.g., social security number, national health ID, etc.)",
"short": "National Identifier Type",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://terminology.hl7.org/ValueSet/v2-0203"
},
"max": "1",
"id": "MedicationOverviewMin.dt",
"base": {
"max": "1",
"min": 0,
"path": "MedicationOverviewMin.dt"
}
}, {
"id": "MedicationOverviewMin.m",
"max": "*",
"min": 0,
"base": {
"max": "*",
"min": 0,
"path": "MedicationOverviewMin.m"
},
"path": "MedicationOverviewMin.m",
"type": [ {
"code": "http://smart.who.int/ph4h/StructureDefinition/MedicationTreatmentLineMin"
} ],
"short": "Medication Treatment Lines",
"definition": "List of medication treatment lines associated with the patient, represented in a minimal format suitable for encoding in a compact QR code payload."
} ],
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "4.0.1"
} ]
},
"status": "draft",
"id": "101111d9-6953-45d4-ae10-01d0de579b03",
"kind": "logical",
"url": "http://smart.who.int/ph4h/StructureDefinition/MedicationOverviewMin",
"version": "0.9.9",
"differential": {
"element": [ {
"id": "MedicationOverviewMin",
"path": "MedicationOverviewMin",
"short": "Medication Overview (Minimal)",
"constraint": [ {
"key": "MedicationOverviewMin-TreatmentLines",
"human": "If more than one medication treatment line is present, there can be a maximum of 3 medication treatment lines to ensure the overall payload remains compact enough for encoding in a QR code.",
"source": "http://smart.who.int/ph4h/StructureDefinition/MedicationOverviewMin",
"severity": "error",
"expression": "m.count() <= 3"
} ],
"definition": "Minimal medication overview payload for use within a QR code payload. Based on the IHE Pharmacy Medication Overview logical model, with short element labels (one or two letters) and simple data"
}, {
"id": "MedicationOverviewMin.n",
"max": "1",
"min": 1,
"path": "MedicationOverviewMin.n",
"type": [ {
"code": "string"
} ],
"short": "Patient Name",
"definition": "Patient Name"
}, {
"id": "MedicationOverviewMin.dob",
"max": "1",
"min": 1,
"path": "MedicationOverviewMin.dob",
"type": [ {
"code": "date"
} ],
"short": "Patient Date of Birth",
"definition": "Patient Date of Birth"
}, {
"id": "MedicationOverviewMin.s",
"max": "1",
"min": 1,
"path": "MedicationOverviewMin.s",
"type": [ {
"code": "code"
} ],
"short": "Sex",
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender"
},
"definition": "Sex"
}, {
"id": "MedicationOverviewMin.nt",
"max": "1",
"min": 0,
"path": "MedicationOverviewMin.nt",
"type": [ {
"code": "code"
} ],
"short": "Nationality",
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/iso3166-1-3"
},
"definition": "Nationality"
}, {
"id": "MedicationOverviewMin.id",
"max": "1",
"min": 0,
"path": "MedicationOverviewMin.id",
"type": [ {
"code": "string"
} ],
"short": "National Identifier",
"definition": "National Identifier"
}, {
"id": "MedicationOverviewMin.dt",
"max": "1",
"min": 0,
"path": "MedicationOverviewMin.dt",
"type": [ {
"code": "code"
} ],
"short": "National Identifier Type",
"binding": {
"strength": "extensible",
"valueSet": "http://terminology.hl7.org/ValueSet/v2-0203"
},
"definition": "Type of national identifier (e.g., social security number, national health ID, etc.)"
}, {
"id": "MedicationOverviewMin.m",
"max": "*",
"min": 0,
"path": "MedicationOverviewMin.m",
"type": [ {
"code": "http://smart.who.int/ph4h/StructureDefinition/MedicationTreatmentLineMin"
} ],
"short": "Medication Treatment Lines",
"definition": "List of medication treatment lines associated with the patient, represented in a minimal format suitable for encoding in a compact QR code payload."
} ]
},
"contact": [ {
"name": "WHO",
"telecom": [ {
"value": "http://who.int",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base"
}