PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.v2mappings@0.1.0
    http://hl7.org/fhir/uv/v2mappings/segment-spm-to-specimen
{
  "description": "This ConceptMap represents a mapping from the HL7 V2 Segment SPM to the FHIR Specimen Resource.",
  "_filename": "example/ConceptMap-segment-spm-to-specimen.json",
  "package_name": "hl7.fhir.uv.v2mappings",
  "date": "2020-08-12",
  "targetUri": "Specimen",
  "group": [ {
    "element": [ {
      "code": "SPM-2",
      "target": [ {
        "code": "identifier[1]",
        "display": "identifier[1]",
        "dependsOn": [ {
          "value": "EIP[Identifier]",
          "property": "data-type-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "Identifier"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": -1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen ID",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "EIP"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "SPM-3",
      "target": [ {
        "code": "parent.identifier",
        "display": "parent.identifier",
        "product": [ {
          "value": "Only one of the two parent references in EIP can be mapped.  The implementation needs to choose which one.",
          "property": "narrative"
        } ],
        "dependsOn": [ {
          "value": "EIP[Identifier]",
          "property": "data-type-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "Identifier"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen Parent IDs",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "EIP"
        }, {
          "url": "cardinalityMin",
          "valueInteger": -1
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "SPM-4",
      "target": [ {
        "code": "type",
        "display": "type",
        "dependsOn": [ {
          "value": "CWE[CodeableConcept]",
          "property": "data-type-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "CodeableConcept"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen Type",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "CWE"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "SPM-6",
      "target": [ {
        "code": "container.additiveCodeableConcept",
        "display": "container.additiveCodeableConcept",
        "dependsOn": [ {
          "value": "CWE[CodeableConcept]",
          "property": "data-type-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "CodeableConcept"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen Additives",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "CWE"
        }, {
          "url": "cardinalityMin",
          "valueInteger": -1
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "SPM-7",
      "target": [ {
        "code": "collection.method",
        "display": "collection.method",
        "dependsOn": [ {
          "value": "CWE[CodeableConcept]",
          "property": "data-type-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "CodeableConcept"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen Collection Method",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "CWE"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "SPM-8",
      "target": [ {
        "code": "collection.bodySite",
        "display": "collection.bodySite",
        "dependsOn": [ {
          "value": "CWE[CodeableConcept]",
          "property": "data-type-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "CodeableConcept"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen Source Site",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "CWE"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "SPM-12",
      "target": [ {
        "code": "collection.quantity",
        "display": "collection.quantity",
        "dependsOn": [ {
          "value": "CQ[Quantity]",
          "property": "data-type-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "SimpleQuantity"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen Collection Amount",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "CQ"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "SPM-14",
      "target": [ {
        "code": "note(Annotation.text)",
        "display": "note(Annotation.text)",
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "markdown"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 1
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen Description",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "ST"
        }, {
          "url": "cardinalityMin",
          "valueInteger": -1
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "SPM-17",
      "target": [ {
        "code": "collection.collectedPeriod",
        "display": "collection.collectedPeriod",
        "product": [ {
          "value": "IF SPM-17.2 VALUED",
          "property": "antlr"
        } ],
        "dependsOn": [ {
          "value": "DR[Period]",
          "property": "data-type-map"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen Collection Date/Time",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "DR"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "SPM-17",
      "target": [ {
        "code": "collection.collectedDateTime",
        "display": "collection.collectedDateTime",
        "product": [ {
          "value": "IF SPM-17.2 NOT VALUED",
          "property": "antlr"
        } ],
        "dependsOn": [ {
          "value": "DR[dateTime]",
          "property": "data-type-map"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen Collection Date/Time",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "DR"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "SPM-18",
      "target": [ {
        "code": "receivedTime",
        "display": "receivedTime",
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "dateTime"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen Received Date/Time",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "DTM"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "SPM-20",
      "target": [ {
        "code": "status",
        "display": "status",
        "dependsOn": [ {
          "value": "SpecimenAvailability",
          "property": "vocabulary-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "code"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen Availability",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "ID"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "SPM-24",
      "target": [ {
        "code": "condition",
        "display": "condition",
        "dependsOn": [ {
          "value": "CWE[CodeableConcept]",
          "property": "data-type-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "CodeableConcept"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": -1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen Condition",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "CWE"
        }, {
          "url": "cardinalityMin",
          "valueInteger": -1
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "SPM-27",
      "target": [ {
        "code": "container.type",
        "display": "container.type",
        "dependsOn": [ {
          "value": "CWE[CodeableConcept]",
          "property": "data-type-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "CodeableConcept"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Container Type",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "CWE"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "SPM-30",
      "target": [ {
        "code": "accessionIdentifier",
        "display": "accessionIdentifier",
        "dependsOn": [ {
          "value": "CX[Identifier]",
          "property": "data-type-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "Identifier"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Accession ID",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "CX"
        }, {
          "url": "cardinalityMin",
          "valueInteger": -1
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "SPM-31",
      "target": [ {
        "code": "identifier[2]",
        "display": "identifier[2]",
        "dependsOn": [ {
          "value": "CX[Identifier]",
          "property": "data-type-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "Identifier"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": -1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Other Specimen ID",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "CX"
        }, {
          "url": "cardinalityMin",
          "valueInteger": -1
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "SPM-32",
      "target": [ {
        "code": "identifier[3]",
        "display": "identifier[3]",
        "dependsOn": [ {
          "value": "EI[Identifier]",
          "property": "data-type-map"
        } ],
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "Identifier"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": -1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Shipment ID",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "EI"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "SPM-32",
      "target": [ {
        "code": "identifier[3].type.coding.code",
        "display": "identifier[3].type.coding.code",
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "code"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Shipment ID",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "EI"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "SPM-32",
      "target": [ {
        "code": "identifier[3].type.coding.system",
        "display": "= \"http://terminology.hl7.org/CodeSystem/v2-0203\"",
        "extension": [ {
          "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
          "extension": [ {
            "url": "type",
            "valueCode": "uri"
          }, {
            "url": "cardinalityMin",
            "valueInteger": 0
          }, {
            "url": "cardinalityMax",
            "valueInteger": 1
          } ]
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Shipment ID",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "type",
          "valueCode": "EI"
        }, {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    } ]
  } ],
  "publisher": "HL7 International",
  "jurisdiction": [ {
    "coding": [ {
      "code": "001",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
    } ]
  } ],
  "name": "SegmentSPMtoSpecimen",
  "copyright": "Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.",
  "type": null,
  "experimental": "true",
  "resourceType": "ConceptMap",
  "title": null,
  "package_version": "0.1.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact",
    "extension": [ {
      "url": "type",
      "valueCode": "derived-from"
    }, {
      "url": "label",
      "valueString": "Segment SPM to Specimen.fsh"
    }, {
      "url": "url",
      "valueUri": "https://docs.google.com/spreadsheets/d/1RhRXhpavSHLckCYV2bJg_b0onlcjMTKLGbCb7ocsfCo/edit#gid=0"
    } ]
  } ],
  "status": "active",
  "id": "00455864-6e22-41ab-83b3-6979dddb178f",
  "kind": null,
  "sourceUri": "SPM",
  "url": "http://hl7.org/fhir/uv/v2mappings/segment-spm-to-specimen",
  "version": "0.1.0",
  "contact": [ {
    "name": "HL7 Orders and Observations Workgroup",
    "telecom": [ {
      "value": "http://hl7.org/Special/committees/orders/index.cfm",
      "system": "url"
    } ]
  }, {
    "name": "Keith W. Boone",
    "telecom": [ {
      "value": "kboone@ainq.com",
      "system": "email"
    } ]
  } ]
}