FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureMap/SearchParameter2to3

Packagehl7.fhir.uv.xver
TypeStructureMap
IdSearchParameter2to3
FHIR VersionR5
Sourcehttp://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-SearchParameter2to3.html
URLhttp://hl7.org/fhir/StructureMap/SearchParameter2to3
Version0.1.0
Statusactive
Date2024-02-22T03:16:50+00:00
NameSearchParameter2to3
TitleSearchParameter Transforms: R2 to R3
Realmuv
Authorityhl7
DescriptionSearchParameterTransformsR2toR3

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

/// url = 'http://hl7.org/fhir/StructureMap/SearchParameter2to3'
/// name = 'SearchParameter2to3'
/// title = 'SearchParameter Transforms: R2 to R3'
/// status = 'active'

uses "http://hl7.org/fhir/1.0/SearchParameter" alias SearchParameterR2 as source
uses "http://hl7.org/fhir/3.0/SearchParameter" alias SearchParameter as target

imports "http://hl7.org/fhir/StructureMap/primitives2to3"
imports "http://hl7.org/fhir/StructureMap/DomainResource2to3"
imports "http://hl7.org/fhir/StructureMap/ContactPoint2to3"

group SearchParameter(source src : SearchParameterR2, target tgt : SearchParameter) extends DomainResource <<type+>> {
  src.url -> tgt.url "SearchParameter-url";
  src.name -> tgt.name "SearchParameter-name";
  src.status default "draft" -> tgt.status "SearchParameter-status";
  src.experimental -> tgt.experimental "SearchParameter-experimental";
  src.date -> tgt.date "SearchParameter-date";
  src.publisher -> tgt.publisher "SearchParameter-publisher";
  src.contact as vs0 -> tgt.contact as vt0 then {
    vs0.name -> vt0.name "ContactDetail-name";
    vs0.telecom -> vt0.telecom "ContactDetail-telecom";
  } "SearchParameter-contact";
  src.requirements -> tgt.purpose "SearchParameter-purpose";
  src.code -> tgt.code "SearchParameter-code";
  src.base -> tgt.base "SearchParameter-base";
  src.type -> tgt.type "SearchParameter-type";
  src.description -> tgt.description "SearchParameter-description";
  src.xpath -> tgt.xpath "SearchParameter-xpath";
  src.xpathUsage -> tgt.xpathUsage "SearchParameter-xpathUsage";
  src.target -> tgt.target "SearchParameter-target";
}


Source

{
  "resourceType": "StructureMap",
  "id": "SearchParameter2to3",
  "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/SearchParameter2to3",
  "version": "0.1.0",
  "name": "SearchParameter2to3",
  "title": "SearchParameter Transforms: R2 to R3",
  "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": "SearchParameterTransformsR2toR3",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/1.0/SearchParameter",
      "mode": "source",
      "alias": "SearchParameterR2"
    },
    {
      "url": "http://hl7.org/fhir/3.0/SearchParameter",
      "mode": "target",
      "alias": "SearchParameter"
    }
  ],
  "import": [
    "http://hl7.org/fhir/StructureMap/primitives2to3",
    "http://hl7.org/fhir/StructureMap/DomainResource2to3",
    "http://hl7.org/fhir/StructureMap/ContactPoint2to3"
  ],
  "group": [
    {
      "name": "SearchParameter",
      "extends": "DomainResource",
      "typeMode": "type-and-types",
      "input": [
        {
          "name": "src",
          "type": "SearchParameterR2",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "SearchParameter",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "SearchParameter-url",
          "source": [
            {
              "context": "src",
              "element": "url",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "url",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-name",
          "source": [
            {
              "context": "src",
              "element": "name",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "name",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-status",
          "source": [
            {
              "context": "src",
              "defaultValue": "draft",
              "element": "status",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "status",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-experimental",
          "source": [
            {
              "context": "src",
              "element": "experimental",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "experimental",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-date",
          "source": [
            {
              "context": "src",
              "element": "date",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "date",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-publisher",
          "source": [
            {
              "context": "src",
              "element": "publisher",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "publisher",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-contact",
          "source": [
            {
              "context": "src",
              "element": "contact",
              "variable": "vs0"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "contact",
              "variable": "vt0"
            }
          ],
          "rule": [
            {
              "name": "ContactDetail-name",
              "source": [
                {
                  "context": "vs0",
                  "element": "name",
                  "variable": "vvv"
                }
              ],
              "target": [
                {
                  "context": "vt0",
                  "element": "name",
                  "variable": "vvv",
                  "transform": "create"
                }
              ],
              "dependent": [
                {
                  "name": "DefaultMappingGroupAnonymousAlias",
                  "parameter": [
                    {
                      "valueId": "vvv"
                    },
                    {
                      "valueId": "vvv"
                    }
                  ]
                }
              ]
            },
            {
              "name": "ContactDetail-telecom",
              "source": [
                {
                  "context": "vs0",
                  "element": "telecom",
                  "variable": "vvv"
                }
              ],
              "target": [
                {
                  "context": "vt0",
                  "element": "telecom",
                  "variable": "vvv",
                  "transform": "create"
                }
              ],
              "dependent": [
                {
                  "name": "DefaultMappingGroupAnonymousAlias",
                  "parameter": [
                    {
                      "valueId": "vvv"
                    },
                    {
                      "valueId": "vvv"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-purpose",
          "source": [
            {
              "context": "src",
              "element": "requirements",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "purpose",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-code",
          "source": [
            {
              "context": "src",
              "element": "code",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "code",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-base",
          "source": [
            {
              "context": "src",
              "element": "base",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "base",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-type",
          "source": [
            {
              "context": "src",
              "element": "type",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "type",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-description",
          "source": [
            {
              "context": "src",
              "element": "description",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "description",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-xpath",
          "source": [
            {
              "context": "src",
              "element": "xpath",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "xpath",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-xpathUsage",
          "source": [
            {
              "context": "src",
              "element": "xpathUsage",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "xpathUsage",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "SearchParameter-target",
          "source": [
            {
              "context": "src",
              "element": "target",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "target",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}