Package | who.ddcc |
Resource Type | StructureMap |
Id | CertDCCtoCoreDataSet |
FHIR Version | R4 |
Source | http://smart.who.int/ddcc/https://build.fhir.org/ig/WorldHealthOrganization/ddcc/StructureMap-CertDCCtoCoreDataSet.html |
URL | http://smart.who.int/ddcc/StructureMap/CertDCCtoCoreDataSet |
Version | 1.0.0 |
Status | draft |
Date | 2025-06-24T09:07:32+00:00 |
Name | CertDCCtoCoreDataSet |
Realm | uv |
Authority | who |
Description | Structure map transforming CertDCC logical model to bundle of Core Data Set logical model |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureMap CertDCCtoCoreDataSet
map "http://smart.who.int/ddcc/StructureMap/CertDCCtoCoreDataSet" = "CertDCCtoCoreDataSet" // Structure map transforming CertDCC logical model to bundle of Core Data Set logical model uses "http://smart.who.int/ddcc/StructureDefinition/CertDCC" alias CWTPayload as source uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias DDCCBundle as target uses "http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSet" alias DDCC as target uses "http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSetVS" alias DDCCVS as target uses "http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSetTR" alias DDCCTR as target group CertDCCtoCoreDataSet(source src : CWTPayload, target ddccBundle : DDCCBundle) { src.-260 as hcert then { hcert.1 as dcc then { dcc.v as v -> ddccBundle.entry as outentry, create('http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSetVS') as ddcc then { v then DCCtoCoreDataSet(dcc, ddcc) "set DDCC"; v -> ddcc.certificate as certificate then CertDCCtoCoreDataSetCertificate(src, dcc, v, certificate) "set certificate"; v -> ddcc.vaccination as vaccination then VtoCoreDataSetVS(v, vaccination) "set vaccination"; v -> outentry.resource = ddcc "set outentry"; }; dcc.t as t -> ddccBundle.entry as outentry, create('http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSetTR') as ddcc then { t then DCCtoCoreDataSet(dcc, ddcc) "set DDCC"; t -> ddcc.certificate as certificate then CertDCCtoCoreDataSetCertificate(src, dcc, t, certificate) "set certificate"; t -> ddcc.test as test then TtoCoreDataSetTR(t, test) "set test"; t -> outentry.resource = ddcc "set outentry"; }; } "eu_DCC_v1"; } "hcert"; } group DCCtoCoreDataSet(source dcc, target ddcc : DDCC) { dcc.dob as birthDate -> ddcc.birthDate = birthDate "set birthDate"; dcc.nam as nam then { nam.gn as given -> ddcc.name = (given.replaceMatches('