| Package | hl7.fhir.uv.xver |
| Resource Type | StructureMap |
| Id | OperationOutcome4Bto5 |
| FHIR Version | R5 |
| Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-OperationOutcome4Bto5.html |
| URL | http://hl7.org/fhir/StructureMap/OperationOutcome4Bto5 |
| Version | 0.1.0 |
| Status | active |
| Date | 2024-02-22T03:16:50+00:00 |
| Name | OperationOutcome4Bto5 |
| Title | OperationOutcome Transforms: R4B to R5 |
| Realm | uv |
| Authority | hl7 |
| Description | OperationOutcomeTransformsR4BtoR5 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/OperationOutcome4Bto5' /// name = 'OperationOutcome4Bto5' /// title = 'OperationOutcome Transforms: R4B to R5' /// status = 'active' uses "http://hl7.org/fhir/4.3/OperationOutcome" alias OperationOutcomeR4B as source uses "http://hl7.org/fhir/5.0/OperationOutcome" alias OperationOutcomeR5 as target imports "http://hl7.org/fhir/StructureMap/*4Bto5" group OperationOutcome(source src : OperationOutcomeR4B, target tgt : OperationOutcomeR5) extends DomainResource <<type+>> { src.issue as s -> tgt.issue as t then OperationOutcomeIssue(s, t); } group OperationOutcomeIssue(source src, target tgt) extends BackboneElement { src.severity as v -> tgt.severity = translate(v, 'http://hl7.org/fhir/ConceptMap/OperationOutcomeB.issue.severity-R4BtoR5', 'code'); src.code as v -> tgt.code = translate(v, 'http://hl7.org/fhir/ConceptMap/OperationOutcomeB.issue.code-R4BtoR5', 'code'); src.details -> tgt.details; src.diagnostics -> tgt.diagnostics; src.location -> tgt.location; src.expression -> tgt.expression; }
{
"resourceType": "StructureMap",
"id": "OperationOutcome4Bto5",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 1,
"_valueInteger": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "draft",
"_valueCode": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url": "http://hl7.org/fhir/StructureMap/OperationOutcome4Bto5",
"version": "0.1.0",
"name": "OperationOutcome4Bto5",
"title": "OperationOutcome Transforms: R4B to R5",
"status": "active",
"date": "2024-02-22T03:16:50+00:00",
"publisher": "HL7 International / FHIR Infrastructure",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description": "OperationOutcomeTransformsR4BtoR5",
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "001"
}
]
}
],
"structure": [
{
"url": "http://hl7.org/fhir/4.3/OperationOutcome",
"mode": "source",
"alias": "OperationOutcomeR4B"
},
{
"url": "http://hl7.org/fhir/5.0/OperationOutcome",
"mode": "target",
"alias": "OperationOutcomeR5"
}
],
"import": [
"http://hl7.org/fhir/StructureMap/*4Bto5"
],
"group": [
{
"name": "OperationOutcome",
"extends": "DomainResource",
"typeMode": "type-and-types",
"input": [
{
"name": "src",
"type": "OperationOutcomeR4B",
"mode": "source"
},
{
"name": "tgt",
"type": "OperationOutcomeR5",
"mode": "target"
}
],
"rule": [
{
"name": "issue",
"source": [
{
"context": "src",
"element": "issue",
"variable": "s"
}
],
"target": [
{
"context": "tgt",
"element": "issue",
"variable": "t"
}
],
"dependent": [
{
"name": "OperationOutcomeIssue",
"parameter": [
{
"valueId": "s"
},
{
"valueId": "t"
}
]
}
]
}
]
},
{
"name": "OperationOutcomeIssue",
"extends": "BackboneElement",
"input": [
{
"name": "src",
"mode": "source"
},
{
"name": "tgt",
"mode": "target"
}
],
"rule": [
{
"name": "severity",
"source": [
{
"context": "src",
"element": "severity",
"variable": "v"
}
],
"target": [
{
"context": "tgt",
"element": "severity",
"transform": "translate",
"parameter": [
{
"valueId": "v"
},
{
"valueString": "http://hl7.org/fhir/ConceptMap/OperationOutcomeB.issue.severity-R4BtoR5"
},
{
"valueString": "code"
}
]
}
]
},
{
"name": "code",
"source": [
{
"context": "src",
"element": "code",
"variable": "v"
}
],
"target": [
{
"context": "tgt",
"element": "code",
"transform": "translate",
"parameter": [
{
"valueId": "v"
},
{
"valueString": "http://hl7.org/fhir/ConceptMap/OperationOutcomeB.issue.code-R4BtoR5"
},
{
"valueString": "code"
}
]
}
]
},
{
"name": "details",
"source": [
{
"context": "src",
"element": "details",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "details",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
},
{
"name": "diagnostics",
"source": [
{
"context": "src",
"element": "diagnostics",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "diagnostics",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
},
{
"name": "location",
"source": [
{
"context": "src",
"element": "location",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "location",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
},
{
"name": "expression",
"source": [
{
"context": "src",
"element": "expression",
"variable": "vvv"
}
],
"target": [
{
"context": "tgt",
"element": "expression",
"variable": "vvv",
"transform": "create"
}
],
"dependent": [
{
"name": "DefaultMappingGroupAnonymousAlias",
"parameter": [
{
"valueId": "vvv"
},
{
"valueId": "vvv"
}
]
}
]
}
]
}
]
}