FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagesmart.who.int.ph4h
Resource TypeStructureDefinition
IdStructureDefinition-MedicationOverviewMin.json
FHIR VersionR4
Sourcehttp://smart.who.int/ph4h/0.9.9/StructureDefinition-MedicationOverviewMin.html
URLhttp://smart.who.int/ph4h/StructureDefinition/MedicationOverviewMin
Version0.9.9
Statusdraft
Date2026-07-09T08:34:46+00:00
NameMedicationOverviewMin
TitleMedication Overview (Minimal)
Authoritywho
DescriptionMinimal 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
Typehttp://smart.who.int/ph4h/StructureDefinition/MedicationOverviewMin
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
smart.who.int.ph4h#0.9.9MedicationTreatmentLineMinMedication Treatment Line (Minimal)
ValueSet
hl7.terminology#currentv2-0203hl7VS-identifierType

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition MedicationOverviewMin

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationOverviewMin C0..*BaseMedication Overview (Minimal)
Constraints: MedicationOverviewMin-TreatmentLines
... n 1..1stringPatient Name
... dob 1..1datePatient Date of Birth
... s 1..1codeSex
Binding: AdministrativeGender (extensible)
... nt 0..1codeNationality
Binding: Iso3166-1-3 (extensible)
... id 0..1stringNational Identifier
... dt 0..1codeNational Identifier Type
Binding: hl7VS-identifierType (extensible)
... m 0..*MedicationTreatmentLineMinMedication Treatment Lines

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "MedicationOverviewMin",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://smart.who.int/ph4h/StructureDefinition/MedicationOverviewMin",
  "version": "0.9.9",
  "name": "MedicationOverviewMin",
  "title": "Medication Overview (Minimal)",
  "status": "draft",
  "date": "2026-07-09T08:34:46+00:00",
  "publisher": "WHO",
  "contact": [
    {
      "name": "WHO",
      "telecom": [
        {
          "system": "url",
          "value": "http://who.int"
        }
      ]
    }
  ],
  "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",
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "http://smart.who.int/ph4h/StructureDefinition/MedicationOverviewMin",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "MedicationOverviewMin",
        "path": "MedicationOverviewMin",
        "short": "Medication Overview (Minimal)",
        "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",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "MedicationOverviewMin-TreatmentLines",
            "severity": "error",
            "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.",
            "expression": "m.count() <= 3",
            "source": "http://smart.who.int/ph4h/StructureDefinition/MedicationOverviewMin"
          }
        ],
        "isModifier": false
      },
      {
        "id": "MedicationOverviewMin.n",
        "path": "MedicationOverviewMin.n",
        "short": "Patient Name",
        "definition": "Patient Name",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicationOverviewMin.n",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "MedicationOverviewMin.dob",
        "path": "MedicationOverviewMin.dob",
        "short": "Patient Date of Birth",
        "definition": "Patient Date of Birth",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicationOverviewMin.dob",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "MedicationOverviewMin.s",
        "path": "MedicationOverviewMin.s",
        "short": "Sex",
        "definition": "Sex",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicationOverviewMin.s",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender"
        }
      },
      {
        "id": "MedicationOverviewMin.nt",
        "path": "MedicationOverviewMin.nt",
        "short": "Nationality",
        "definition": "Nationality",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicationOverviewMin.nt",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/iso3166-1-3"
        }
      },
      {
        "id": "MedicationOverviewMin.id",
        "path": "MedicationOverviewMin.id",
        "short": "National Identifier",
        "definition": "National Identifier",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicationOverviewMin.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "MedicationOverviewMin.dt",
        "path": "MedicationOverviewMin.dt",
        "short": "National Identifier Type",
        "definition": "Type of national identifier (e.g., social security number, national health ID, etc.)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicationOverviewMin.dt",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0203"
        }
      },
      {
        "id": "MedicationOverviewMin.m",
        "path": "MedicationOverviewMin.m",
        "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.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "MedicationOverviewMin.m",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://smart.who.int/ph4h/StructureDefinition/MedicationTreatmentLineMin"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "MedicationOverviewMin",
        "path": "MedicationOverviewMin",
        "short": "Medication Overview (Minimal)",
        "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",
        "constraint": [
          {
            "key": "MedicationOverviewMin-TreatmentLines",
            "severity": "error",
            "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.",
            "expression": "m.count() <= 3",
            "source": "http://smart.who.int/ph4h/StructureDefinition/MedicationOverviewMin"
          }
        ]
      },
      {
        "id": "MedicationOverviewMin.n",
        "path": "MedicationOverviewMin.n",
        "short": "Patient Name",
        "definition": "Patient Name",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "MedicationOverviewMin.dob",
        "path": "MedicationOverviewMin.dob",
        "short": "Patient Date of Birth",
        "definition": "Patient Date of Birth",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "MedicationOverviewMin.s",
        "path": "MedicationOverviewMin.s",
        "short": "Sex",
        "definition": "Sex",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender"
        }
      },
      {
        "id": "MedicationOverviewMin.nt",
        "path": "MedicationOverviewMin.nt",
        "short": "Nationality",
        "definition": "Nationality",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/iso3166-1-3"
        }
      },
      {
        "id": "MedicationOverviewMin.id",
        "path": "MedicationOverviewMin.id",
        "short": "National Identifier",
        "definition": "National Identifier",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "MedicationOverviewMin.dt",
        "path": "MedicationOverviewMin.dt",
        "short": "National Identifier Type",
        "definition": "Type of national identifier (e.g., social security number, national health ID, etc.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0203"
        }
      },
      {
        "id": "MedicationOverviewMin.m",
        "path": "MedicationOverviewMin.m",
        "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.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "http://smart.who.int/ph4h/StructureDefinition/MedicationTreatmentLineMin"
          }
        ]
      }
    ]
  }
}