PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/ImplantableDeviceStatusObservation
description: This template is intended to be used in addition to the **Product Instance** template urn:oid:2.16.840.1.113883.10.20.22.4.37  to augment the parsed data from the a Unique Device Identifier (UDI). This template is used to exchange the status of the patient's implantable medical device.  This status is only relevant to medical devices implanted in the patient's body.
package_name: hl7.cda.us.ccda
derivation: constraint
name: ImplantableDeviceStatusObservation
type: http://hl7.org/cda/stds/core/StructureDefinition/Observation
elements:
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      - {path: extension, type: value}
      min: 1
      slices:
        implant-device-status-obs:
          match: {root: 2.16.840.1.113883.10.20.22.4.305, extension: '2019-06-21'}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.305}
                index: 2
              extension:
                pattern: {type: String, value: '2019-06-21'}
                index: 3
            required: [root, extension]
            extensions: {}
  code:
    short: Code for "Implantable Device Status"
    index: 4
    elements:
      code:
        pattern: {type: Code, value: C160939}
        index: 5
      codeSystem:
        pattern: {type: String, value: 2.16.840.1.113883.3.26.1.1}
        index: 6
      codeSystemName: {short: MAY be set to 'NCI Thesaurus', index: 7}
      displayName: {short: MAY be set to 'Implantable Device Status', index: 8}
    required: [codeSystem, code]
  text:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 9
    elements:
      reference:
        constraint:
          value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/ImplantableDeviceStatusObservation', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 10
  value:
    type: http://hl7.org/cda/stds/core/StructureDefinition/CD
    binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.48'}
    index: 11
    elements:
      code: {index: 12}
      codeSystem: {index: 13}
    required: [codeSystem, code]
package_version: 3.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/ImplantableDeviceStatusObservation
base: http://hl7.org/cda/stds/core/StructureDefinition/Observation
version: 3.0.0-ballot
required: [value, templateId]