FHIR IG analytics| Package | hl7.fhir.uv.mapping-language |
| Resource Type | StructureMap |
| Id | StructureMap-TransformCcObs.json |
| FHIR Version | R6 |
| Source | https://build.fhir.org/ig/HL7/mapping-language-ig/StructureMap-TransformCcObs.html |
| URL | http://hl7.org/fhir/uv/mapping-language/StructureMap/TransformCcObs |
| Version | 0.1.0 |
| Status | active |
| Date | 2026-10-15T22:52:06+00:00 |
| Name | TransformCcObs |
| Realm | uv |
| Authority | hl7 |
| Description | Example demonstrating the cc transform to create a CodeableConcept into a choice type element |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureMap TransformCcObs
/// url = 'http://hl7.org/fhir/uv/mapping-language/StructureMap/TransformCcObs' /// version = '0.1.0' /// name = 'TransformCcObs' /// status = 'active' /// description = 'Example demonstrating the cc transform to create a CodeableConcept into a choice type element' uses "http://hl7.org/fhir/StructureDefinition/Observation" as source uses "http://hl7.org/fhir/StructureDefinition/Observation" as target // Create 3 codeableconcepts in the output, each demonstrating a different way to populate a CodeableConcept using cc() group TransformCc(source src : Observation, target tgt : Observation) { src -> tgt.value = cc('Non coded text', 'oth') "TextOnlyCC"; }
{
"resourceType": "StructureMap",
"resourceDefinition": "http://hl7.org/fhir/StructureDefinition/StructureMap|0.1.0",
"id": "TransformCcObs",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"url": "http://hl7.org/fhir/uv/mapping-language/StructureMap/TransformCcObs",
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:oid:2.16.840.1.113883.4.642.40.89.43.42"
}
],
"version": "0.1.0",
"name": "TransformCcObs",
"status": "active",
"date": "2026-10-15T22:52:06+00:00",
"publisher": "HL7 International / FHIR Infrastructure",
"contact": [
{
"name": "HL7 International / FHIR Infrastructure",
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/fiwg"
}
]
},
{
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description": "Example demonstrating the cc transform to create a CodeableConcept into a choice type element",
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "001",
"display": "World"
}
]
}
],
"structure": [
{
"url": "http://hl7.org/fhir/StructureDefinition/Observation",
"mode": "source"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/Observation",
"mode": "target"
}
],
"group": [
{
"name": "TransformCc",
"documentation": "Create 3 codeableconcepts in the output, each demonstrating a different way to populate a CodeableConcept using cc()",
"input": [
{
"name": "src",
"type": "Observation",
"mode": "source"
},
{
"name": "tgt",
"type": "Observation",
"mode": "target"
}
],
"rule": [
{
"name": "TextOnlyCC",
"source": [
{
"context": "src"
}
],
"target": [
{
"context": "tgt",
"element": [
"value"
],
"transform": "cc",
"parameter": [
{
"valueString": "Non coded text"
},
{
"valueString": "oth"
}
]
}
]
}
]
}
]
}