| Package | hl7.fhir.uv.xver | 
| Resource Type | StructureMap | 
| Id | DeviceMetric4Bto5 | 
| FHIR Version | R5 | 
| Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-DeviceMetric4Bto5.html | 
| URL | http://hl7.org/fhir/StructureMap/DeviceMetric4Bto5 | 
| Version | 0.1.0 | 
| Status | active | 
| Date | 2024-02-22T03:16:50+00:00 | 
| Name | DeviceMetric4Bto5 | 
| Title | DeviceMetric Transforms: R4B to R5 | 
| Realm | uv | 
| Authority | hl7 | 
| Description | DeviceMetricTransformsR4BtoR5 | 
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/DeviceMetric4Bto5' /// name = 'DeviceMetric4Bto5' /// title = 'DeviceMetric Transforms: R4B to R5' /// status = 'active' uses "http://hl7.org/fhir/4.3/DeviceMetric" alias DeviceMetricR4B as source uses "http://hl7.org/fhir/5.0/DeviceMetric" alias DeviceMetricR5 as target imports "http://hl7.org/fhir/StructureMap/*4Bto5" group DeviceMetric(source src : DeviceMetricR4B, target tgt : DeviceMetricR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.type -> tgt.type; src.unit -> tgt.unit; src.parent -> tgt.device; src.operationalStatus as v -> tgt.operationalStatus = translate(v, 'http://hl7.org/fhir/ConceptMap/DeviceMetricB.operationalStatus-R4BtoR5', 'code'); src.color as v -> tgt.color = translate(v, 'http://hl7.org/fhir/ConceptMap/DeviceMetricB.color-R4BtoR5', 'code'); src.category as v -> tgt.category = translate(v, 'http://hl7.org/fhir/ConceptMap/DeviceMetricB.category-R4BtoR5', 'code'); src.calibration as s -> tgt.calibration as t then DeviceMetricCalibration(s, t); } group DeviceMetricCalibration(source src, target tgt) extends BackboneElement { src.type as v -> tgt.type = translate(v, 'http://hl7.org/fhir/ConceptMap/DeviceMetricB.calibration.type-R4BtoR5', 'code'); src.state as v -> tgt.state = translate(v, 'http://hl7.org/fhir/ConceptMap/DeviceMetricB.calibration.state-R4BtoR5', 'code'); src.time -> tgt.time; }
{
  "resourceType": "StructureMap",
  "id": "DeviceMetric4Bto5",
  "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/DeviceMetric4Bto5",
  "version": "0.1.0",
  "name": "DeviceMetric4Bto5",
  "title": "DeviceMetric 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": "DeviceMetricTransformsR4BtoR5",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://hl7.org/fhir/4.3/DeviceMetric",
      "mode": "source",
      "alias": "DeviceMetricR4B"
    },
    {
      "url": "http://hl7.org/fhir/5.0/DeviceMetric",
      "mode": "target",
      "alias": "DeviceMetricR5"
    }
  ],
  "import": [
    "http://hl7.org/fhir/StructureMap/*4Bto5"
  ],
  "group": [
    {
      "name": "DeviceMetric",
      "extends": "DomainResource",
      "typeMode": "type-and-types",
      "input": [
        {
          "name": "src",
          "type": "DeviceMetricR4B",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "DeviceMetricR5",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "identifier",
          "source": [
            {
              "context": "src",
              "element": "identifier",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "identifier",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "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": "unit",
          "source": [
            {
              "context": "src",
              "element": "unit",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "unit",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "parent",
          "source": [
            {
              "context": "src",
              "element": "parent",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "device",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        },
        {
          "name": "operationalStatus",
          "source": [
            {
              "context": "src",
              "element": "operationalStatus",
              "variable": "v"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "operationalStatus",
              "transform": "translate",
              "parameter": [
                {
                  "valueId": "v"
                },
                {
                  "valueString": "http://hl7.org/fhir/ConceptMap/DeviceMetricB.operationalStatus-R4BtoR5"
                },
                {
                  "valueString": "code"
                }
              ]
            }
          ]
        },
        {
          "name": "color",
          "source": [
            {
              "context": "src",
              "element": "color",
              "variable": "v"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "color",
              "transform": "translate",
              "parameter": [
                {
                  "valueId": "v"
                },
                {
                  "valueString": "http://hl7.org/fhir/ConceptMap/DeviceMetricB.color-R4BtoR5"
                },
                {
                  "valueString": "code"
                }
              ]
            }
          ]
        },
        {
          "name": "category",
          "source": [
            {
              "context": "src",
              "element": "category",
              "variable": "v"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "category",
              "transform": "translate",
              "parameter": [
                {
                  "valueId": "v"
                },
                {
                  "valueString": "http://hl7.org/fhir/ConceptMap/DeviceMetricB.category-R4BtoR5"
                },
                {
                  "valueString": "code"
                }
              ]
            }
          ]
        },
        {
          "name": "calibration",
          "source": [
            {
              "context": "src",
              "element": "calibration",
              "variable": "s"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "calibration",
              "variable": "t"
            }
          ],
          "dependent": [
            {
              "name": "DeviceMetricCalibration",
              "parameter": [
                {
                  "valueId": "s"
                },
                {
                  "valueId": "t"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "DeviceMetricCalibration",
      "extends": "BackboneElement",
      "input": [
        {
          "name": "src",
          "mode": "source"
        },
        {
          "name": "tgt",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "type",
          "source": [
            {
              "context": "src",
              "element": "type",
              "variable": "v"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "type",
              "transform": "translate",
              "parameter": [
                {
                  "valueId": "v"
                },
                {
                  "valueString": "http://hl7.org/fhir/ConceptMap/DeviceMetricB.calibration.type-R4BtoR5"
                },
                {
                  "valueString": "code"
                }
              ]
            }
          ]
        },
        {
          "name": "state",
          "source": [
            {
              "context": "src",
              "element": "state",
              "variable": "v"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "state",
              "transform": "translate",
              "parameter": [
                {
                  "valueId": "v"
                },
                {
                  "valueString": "http://hl7.org/fhir/ConceptMap/DeviceMetricB.calibration.state-R4BtoR5"
                },
                {
                  "valueString": "code"
                }
              ]
            }
          ]
        },
        {
          "name": "time",
          "source": [
            {
              "context": "src",
              "element": "time",
              "variable": "vvv"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "time",
              "variable": "vvv",
              "transform": "create"
            }
          ],
          "dependent": [
            {
              "name": "DefaultMappingGroupAnonymousAlias",
              "parameter": [
                {
                  "valueId": "vvv"
                },
                {
                  "valueId": "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}