FHIR IG analytics| Package | smart.who.int.ph4h |
| Resource Type | StructureMap |
| Id | StructureMap-MedicationOverviewMinToMedicationOverviewBundle.json |
| FHIR Version | R4 |
| Source | http://smart.who.int/ph4h/0.9.9/StructureMap-MedicationOverviewMinToMedicationOverviewBundle.html |
| URL | http://smart.who.int/ph4h/StructureMap/MedicationOverviewMinToMedicationOverviewBundle |
| Version | 0.9.9 |
| Status | draft |
| Date | 2026-07-09T08:34:46+00:00 |
| Name | MedicationOverviewMinToMedicationOverviewBundle |
| Authority | who |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureMap MedicationOverviewMinToMedicationOverviewBundle
map "http://smart.who.int/ph4h/StructureMap/MedicationOverviewMinToMedicationOverviewBundle" = "MedicationOverviewMinToMedicationOverviewBundle" uses "http://smart.who.int/ph4h/StructureDefinition/MedicationOverviewMin" alias MedicationOverviewMin as source uses "https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverview" alias MedicationOverviewBundle as target uses "https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverviewLM" alias MedicationOverviewLM as target imports "http://smart.who.int/ph4h/StructureMap/MedicationOverviewMinToMedicationOverviewLM" imports "http://smart.who.int/ph4h/StructureMap/MedicationOverviewLMToMedicationOverviewBundle" group MedicationOverviewMinToMedicationOverviewBundle(source src : MedicationOverviewMin, target tgt : MedicationOverviewBundle) { src -> create('MedicationOverviewLM') as lm then { src -> lm then MedicationOverviewMinToMedicationOverviewLM(src, lm) "stage1MinToLM"; // NOTE: the rule's source context must be a SOURCE-mode variable — `lm` is // a target variable (created above) and may only appear as a dependent // parameter. `lm -> tgt then ...` fails with "Unknown input variable lm". src -> tgt then MedicationOverviewLMToMedicationOverviewBundle(lm, tgt) "stage2LMToBundle"; } "chainMinToBundle"; }
{
"resourceType": "StructureMap",
"id": "MedicationOverviewMinToMedicationOverviewBundle",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"url": "http://smart.who.int/ph4h/StructureMap/MedicationOverviewMinToMedicationOverviewBundle",
"version": "0.9.9",
"name": "MedicationOverviewMinToMedicationOverviewBundle",
"status": "draft",
"date": "2026-07-09T08:34:46+00:00",
"publisher": "WHO",
"contact": [
{
"name": "WHO",
"telecom": [
{
"system": "url",
"value": "http://who.int"
}
]
}
],
"structure": [
{
"url": "http://smart.who.int/ph4h/StructureDefinition/MedicationOverviewMin",
"mode": "source",
"alias": "MedicationOverviewMin"
},
{
"url": "https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverview",
"mode": "target",
"alias": "MedicationOverviewBundle"
},
{
"url": "https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverviewLM",
"mode": "target",
"alias": "MedicationOverviewLM"
}
],
"import": [
"http://smart.who.int/ph4h/StructureMap/MedicationOverviewMinToMedicationOverviewLM",
"http://smart.who.int/ph4h/StructureMap/MedicationOverviewLMToMedicationOverviewBundle"
],
"group": [
{
"name": "MedicationOverviewMinToMedicationOverviewBundle",
"typeMode": "none",
"input": [
{
"name": "src",
"type": "MedicationOverviewMin",
"mode": "source"
},
{
"name": "tgt",
"type": "MedicationOverviewBundle",
"mode": "target"
}
],
"rule": [
{
"name": "chainMinToBundle",
"source": [
{
"context": "src"
}
],
"target": [
{
"contextType": "variable",
"variable": "lm",
"transform": "create",
"parameter": [
{
"valueString": "MedicationOverviewLM"
}
]
}
],
"rule": [
{
"name": "stage1MinToLM",
"source": [
{
"context": "src"
}
],
"target": [
{
"context": "lm",
"contextType": "variable"
}
],
"dependent": [
{
"name": "MedicationOverviewMinToMedicationOverviewLM",
"variable": [
"src",
"lm"
]
}
]
},
{
"name": "stage2LMToBundle",
"source": [
{
"context": "src"
}
],
"target": [
{
"context": "tgt",
"contextType": "variable"
}
],
"dependent": [
{
"name": "MedicationOverviewLMToMedicationOverviewBundle",
"variable": [
"lm",
"tgt"
]
}
]
}
]
}
]
}
]
}