This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
FHIR Infrastructure Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Not linked to any defined compartments |
R3 : R4 Conversion maps for CapabilityStatement.
Functional status for this map: 9 tests of which 1 fail to execute. 8 fail round-trip testing and 8 r3 resources are invalid (0 errors). (see documentation)
map "http://hl7.org/fhir/StructureMap/CapabilityStatement3to4" = "R3 to R4 Conversions for CapabilityStatement" uses "http://hl7.org/fhir/3.0/StructureDefinition/CapabilityStatement" alias CapabilityStatementR3 as source uses "http://hl7.org/fhir/StructureDefinition/CapabilityStatement" alias CapabilityStatement as target imports "http://hl7.org/fhir/StructureMap/*3to4" group CapabilityStatement extends DomainResource input src : CapabilityStatementR3 as source input tgt : CapabilityStatement as target "CapabilityStatement.url" : for src.url as vs make tgt.url as vt "CapabilityStatement.version" : for src.version as vs make tgt.version as vt "CapabilityStatement.name" : for src.name as vs make tgt.name as vt "CapabilityStatement.title" : for src.title as vs make tgt.title as vt "CapabilityStatement.status" : for src.status as vs make tgt.status as vt "CapabilityStatement.experimental" : for src.experimental as vs make tgt.experimental as vt "CapabilityStatement.date" : for src.date as vs make tgt.date as vt "CapabilityStatement.publisher" : for src.publisher as vs make tgt.publisher as vt "CapabilityStatement.contact" : for src.contact as vs make tgt.contact as vt "CapabilityStatement.description" : for src.description as vs make tgt.description as vt "CapabilityStatement.useContext" : for src.useContext as vs make tgt.useContext as vt "CapabilityStatement.jurisdiction" : for src.jurisdiction as vs make tgt.jurisdiction as vt "CapabilityStatement.purpose" : for src.purpose as vs make tgt.purpose as vt "CapabilityStatement.copyright" : for src.copyright as vs make tgt.copyright as vt "CapabilityStatement.kind" : for src.kind as vs make tgt.kind as vt "CapabilityStatement.software" : for src.software as vs0 make tgt.software as vt0 then { "CapabilityStatement.software.name" : for vs0.name as vs make vt0.name as vt "CapabilityStatement.software.version" : for vs0.version as vs make vt0.version as vt "CapabilityStatement.software.releaseDate" : for vs0.releaseDate as vs make vt0.releaseDate as vt } "CapabilityStatement.implementation" : for src.implementation as vs0 make tgt.implementation as vt0 then { "CapabilityStatement.implementation.description" : for vs0.description as vs make vt0.description as vt } "CapabilityStatement.fhirVersion" : for src.fhirVersion as vs make tgt.fhirVersion as vt "CapabilityStatement.format" : for src.format as vs make tgt.format as vt "CapabilityStatement.patchFormat" : for src.patchFormat as vs make tgt.patchFormat as vt "CapabilityStatement.rest" : for src.rest as vs0 make tgt.rest as vt0 then { "CapabilityStatement.rest.mode" : for vs0.mode as vs make vt0.mode as vt "CapabilityStatement.rest.documentation" : for vs0.documentation as vs make vt0.documentation as vt } "CapabilityStatement.messaging" : for src.messaging as vs0 make tgt.messaging as vt0 then { "CapabilityStatement.messaging.reliableCache" : for vs0.reliableCache as vs make vt0.reliableCache as vt "CapabilityStatement.messaging.documentation" : for vs0.documentation as vs make vt0.documentation as vt } "CapabilityStatement.document" : for src.document as vs0 make tgt.document as vt0 then { "CapabilityStatement.document.mode" : for vs0.mode as vs make vt0.mode as vt "CapabilityStatement.document.documentation" : for vs0.documentation as vs make vt0.documentation as vt } endgroup
map "http://hl7.org/fhir/StructureMap/CapabilityStatement4to3" = "R4 to R3 Conversion for CapabilityStatement" uses "http://hl7.org/fhir/StructureDefinition/CapabilityStatement" alias CapabilityStatement as source uses "http://hl7.org/fhir/3.0/StructureDefinition/CapabilityStatement" alias CapabilityStatementR3 as target imports "http://hl7.org/fhir/StructureMap/*4to3" group CapabilityStatement extends DomainResource input src : CapabilityStatement as source input tgt : CapabilityStatementR3 as target "CapabilityStatement.url" : for src.url as vs make tgt.url as vt "CapabilityStatement.version" : for src.version as vs make tgt.version as vt "CapabilityStatement.name" : for src.name as vs make tgt.name as vt "CapabilityStatement.title" : for src.title as vs make tgt.title as vt "CapabilityStatement.status" : for src.status as vs make tgt.status as vt "CapabilityStatement.experimental" : for src.experimental as vs make tgt.experimental as vt "CapabilityStatement.date" : for src.date as vs make tgt.date as vt "CapabilityStatement.publisher" : for src.publisher as vs make tgt.publisher as vt "CapabilityStatement.contact" : for src.contact as vs make tgt.contact as vt "CapabilityStatement.description" : for src.description as vs make tgt.description as vt "CapabilityStatement.useContext" : for src.useContext as vs make tgt.useContext as vt "CapabilityStatement.jurisdiction" : for src.jurisdiction as vs make tgt.jurisdiction as vt "CapabilityStatement.purpose" : for src.purpose as vs make tgt.purpose as vt "CapabilityStatement.copyright" : for src.copyright as vs make tgt.copyright as vt "CapabilityStatement.kind" : for src.kind as vs make tgt.kind as vt "CapabilityStatement.software" : for src.software as vs0 make tgt.software as vt0 then { "CapabilityStatement.software.name" : for vs0.name as vs make vt0.name as vt "CapabilityStatement.software.version" : for vs0.version as vs make vt0.version as vt "CapabilityStatement.software.releaseDate" : for vs0.releaseDate as vs make vt0.releaseDate as vt } "CapabilityStatement.implementation" : for src.implementation as vs0 make tgt.implementation as vt0 then { "CapabilityStatement.implementation.description" : for vs0.description as vs make vt0.description as vt } "CapabilityStatement.fhirVersion" : for src.fhirVersion as vs make tgt.fhirVersion as vt "CapabilityStatement.format" : for src.format as vs make tgt.format as vt "CapabilityStatement.patchFormat" : for src.patchFormat as vs make tgt.patchFormat as vt "CapabilityStatement.rest" : for src.rest as vs0 make tgt.rest as vt0 then { "CapabilityStatement.rest.mode" : for vs0.mode as vs make vt0.mode as vt "CapabilityStatement.rest.documentation" : for vs0.documentation as vs make vt0.documentation as vt } "CapabilityStatement.messaging" : for src.messaging as vs0 make tgt.messaging as vt0 then { "CapabilityStatement.messaging.reliableCache" : for vs0.reliableCache as vs make vt0.reliableCache as vt "CapabilityStatement.messaging.documentation" : for vs0.documentation as vs make vt0.documentation as vt } "CapabilityStatement.document" : for src.document as vs0 make tgt.document as vt0 then { "CapabilityStatement.document.mode" : for vs0.mode as vs make vt0.mode as vt "CapabilityStatement.document.documentation" : for vs0.documentation as vs make vt0.documentation as vt } endgroup