This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/StructureMap/SearchParameter4Bto5 | Version: 5.1.0-ballot1 | |||
Standards status: Trial-use | Maturity Level: 1 | Computable Name: SearchParameter4Bto5 |
FMLConversionforSearchParameterR4BtoR5
/// url = 'http://hl7.org/fhir/StructureMap/SearchParameter4Bto5' /// name = 'SearchParameter4Bto5' /// title = 'FML Conversion for SearchParameter: R4B to R5' /// status = 'active' conceptmap "PublicationStatus" { prefix s = "http://hl7.org/fhir/4.3/publication-status" prefix t = "http://hl7.org/fhir/publication-status" s:draft - t:draft s:active - t:active s:retired - t:retired s:unknown - t:unknown } conceptmap "SearchComparator" { prefix s = "http://hl7.org/fhir/4.3/search-comparator" prefix t = "http://hl7.org/fhir/search-comparator" s:eq - t:eq s:ne - t:ne s:gt - t:gt s:lt - t:lt s:ge - t:ge s:le - t:le s:sa - t:sa s:eb - t:eb s:ap - t:ap } conceptmap "SearchModifierCode" { prefix s = "http://hl7.org/fhir/4.3/search-modifier-code" prefix t = "http://hl7.org/fhir/search-modifier-code" s:missing - t:missing s:exact - t:exact s:contains - t:contains s:not - t:not s:text - t:text s:in - t:in s:"not-in" - t:"not-in" s:below - t:below s:above - t:above s:type - t:type s:identifier - t:identifier } conceptmap "SearchParamType" { prefix s = "http://hl7.org/fhir/4.3/search-param-type" prefix t = "http://hl7.org/fhir/search-param-type" s:number - t:number s:date - t:date s:string - t:string s:token - t:token s:reference - t:reference s:composite - t:composite s:quantity - t:quantity s:uri - t:uri s:special - t:special } conceptmap "SearchProcessingModeType" { prefix s = "http://hl7.org/fhir/4.3/search-xpath-usage" prefix t = "http://hl7.org/fhir/search-processingmode" s:normal - t:normal s:phonetic - t:phonetic s:other - t:other } uses "http://hl7.org/fhir/4.3/StructureDefinition/SearchParameter" alias SearchParameterR4B as source uses "http://hl7.org/fhir/StructureDefinition/SearchParameter" alias SearchParameterR5 as target imports "http://hl7.org/fhir/StructureMap/*4Bto5" group SearchParameter(source src : SearchParameterR4B, target tgt : SearchParameterR5) extends DomainResource <<type+>> { src.url -> tgt.url; src.version -> tgt.version; // src.identifier -> tgt.identifier; src.name -> tgt.name; // src.versionAlgorithm : string -> tgt.versionAlgorithm; src.derivedFrom -> tgt.derivedFrom; // src.title -> tgt.title; src.status as v -> tgt.status = translate(v, '#PublicationStatus', 'code'); src.experimental -> tgt.experimental; src.date -> tgt.date; src.publisher -> tgt.publisher; src.contact -> tgt.contact; src.description -> tgt.description; src.useContext -> tgt.useContext; src.jurisdiction -> tgt.jurisdiction; src.purpose -> tgt.purpose; src.code -> tgt.code; // src.copyright -> tgt.copyright; src.base -> tgt.base; src.type as v -> tgt.type = translate(v, '#SearchParamType', 'code'); src.expression -> tgt.expression; src.xpathUsage as v -> tgt.processingMode = translate(v, '#SearchProcessingModeType', 'code'); src.target -> tgt.target; // src.constraint -> tgt.constraint; src.multipleOr -> tgt.multipleOr; src.multipleAnd -> tgt.multipleAnd; src.comparator as v -> tgt.comparator = translate(v, '#SearchComparator', 'code'); src.modifier as v -> tgt.modifier = translate(v, '#SearchModifierCode', 'code'); src.chain -> tgt.chain; src.component as s -> tgt.component as t then SearchParameterComponent(s, t); } group SearchParameterComponent(source src, target tgt) extends BackboneElement { src.definition -> tgt.definition; src.expression -> tgt.expression; }