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

FHIR IG Statistics: StructureMap/SearchParameter3to2

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

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/SearchParameter3to2'
/// name = 'SearchParameter3to2'
/// title = 'SearchParameter Transforms: R3 to R2'
/// status = 'active'

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

imports "http://hl7.org/fhir/StructureMap/primitives3to2"
imports "http://hl7.org/fhir/StructureMap/DomainResource3to2"
imports "http://hl7.org/fhir/StructureMap/ContactPoint3to2"

group SearchParameter(source src : SearchParameter, target tgt : SearchParameterR2) extends DomainResource <<type+>> {
  src.url -> tgt.url "SearchParameter-url";
  src.name -> tgt.name "SearchParameter-name";
  src.status -> tgt.status "SearchParameter-status";
  src.experimental -> tgt.experimental "SearchParameter-experimental";
  src.publisher -> tgt.publisher "SearchParameter-publisher";
  src.contact as vs0 -> tgt.contact as vt0 then {
    vs0.name -> vt0.name "contact-name";
    vs0.telecom -> vt0.telecom "contact-telecom";
  } "SearchParameter-contact";
  src.date -> tgt.date "SearchParameter-date";
  src.purpose -> tgt.requirements "SearchParameter-requirements";
  src.code -> tgt.code "SearchParameter-code";
  src.base only_one -> 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": "SearchParameter3to2",
  "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/SearchParameter3to2",
  "version": "0.1.0",
  "name": "SearchParameter3to2",
  "title": "SearchParameter Transforms: R3 to R2",
  "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": "SearchParameterTransformsR3toR2",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/3.0/SearchParameter",
      "mode": "source",
      "alias": "SearchParameter"
    },
    {
      "url": "http://hl7.org/fhir/1.0/SearchParameter",
      "mode": "target",
      "alias": "SearchParameterR2"
    }
  ],
  "import": [
    "http://hl7.org/fhir/StructureMap/primitives3to2",
    "http://hl7.org/fhir/StructureMap/DomainResource3to2",
    "http://hl7.org/fhir/StructureMap/ContactPoint3to2"
  ],
  "group": [
    {
      "name": "SearchParameter",
      "extends": "DomainResource",
      "typeMode": "type-and-types",
      "input": [
        {
          "name": "src",
          "type": "SearchParameter",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "SearchParameterR2",
          "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",
              "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-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": "contact-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": "contact-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-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-requirements",
          "source": [
            {
              "context": "src",
              "element": "purpose",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "requirements",
              "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",
              "listMode": "only_one",
              "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"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}