PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r5.r4.r4@0.0.1-snapshot-2
    http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceAssociation
description: This cross-version extension represents DeviceAssociation from http://hl7.org/fhir/StructureDefinition/DeviceAssociation|5.0.0 for use in FHIR R4.
package_name: hl7.fhir.uv.xver-r5.r4.r4
derivation: constraint
name: Ext_R5_DeviceAssociation
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    min: 2
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        device:
          match: {url: device}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Reference to the devices associated with the patient or group
            _required: true
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: device}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Reference to the devices associated with the patient or group
                choices: [valueReference]
                index: 4
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: Reference to the devices associated with the patient or group
                choiceOf: value
                index: 5
            required: [url]
        category:
          match: {url: category}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Describes the relationship between the device and subject
            array: true
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: category}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Describes the relationship between the device and subject
                choices: [valueCodeableConcept]
                index: 9
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Describes the relationship between the device and subject
                choiceOf: value
                index: 10
            required: [url]
        status:
          match: {url: status}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: implanted | explanted | attached | entered-in-error | unknown
            _required: true
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: status}
                index: 12
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: implanted | explanted | attached | entered-in-error | unknown
                choices: [valueCodeableConcept]
                index: 14
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: implanted | explanted | attached | entered-in-error | unknown
                choiceOf: value
                index: 15
            required: [url]
        statusReason:
          match: {url: statusReason}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The reasons given for the current association status
            array: true
            index: 16
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: statusReason}
                index: 17
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The reasons given for the current association status
                choices: [valueCodeableConcept]
                index: 19
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: The reasons given for the current association status
                choiceOf: value
                index: 20
            required: [url]
        bodyStructure:
          match: {url: bodyStructure}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Current anatomical location of the device in/on subject
            index: 21
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: bodyStructure}
                index: 22
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Current anatomical location of the device in/on subject
                choices: [valueReference]
                index: 24
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: Current anatomical location of the device in/on subject
                choiceOf: value
                index: 25
            required: [url]
        period:
          match: {url: period}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Begin and end dates and times for the device association
            index: 26
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: period}
                index: 27
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Begin and end dates and times for the device association
                choices: [valuePeriod]
                index: 29
              valuePeriod:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Period
                short: Begin and end dates and times for the device association
                choiceOf: value
                index: 30
            required: [url]
        operation:
          match: {url: operation}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The details about the device when it is in use to describe its operation
            array: true
            index: 31
            extensions:
              status:
                url: status
                base: {max: '*', min: 0, path: Extension.extension}
                short: Device operational condition
                _required: true
                index: 33
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: status}
                    index: 34
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Device operational condition
                    choices: [valueCodeableConcept]
                    index: 36
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Device operational condition
                    choiceOf: value
                    index: 37
                required: [url]
              operator:
                url: operator
                base: {max: '*', min: 0, path: Extension.extension}
                short: The individual performing the action enabled by the device
                array: true
                index: 38
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: operator}
                    index: 39
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The individual performing the action enabled by the device
                    choices: [valueReference]
                    index: 41
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: The individual performing the action enabled by the device
                    choiceOf: value
                    index: 42
                required: [url]
              period:
                url: period
                base: {max: '*', min: 0, path: Extension.extension}
                short: Begin and end dates and times for the device's operation
                index: 43
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: period}
                    index: 44
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Begin and end dates and times for the device's operation
                    choices: [valuePeriod]
                    index: 46
                  valuePeriod:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Period
                    short: Begin and end dates and times for the device's operation
                    choiceOf: value
                    index: 47
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                min: 1
                index: 32
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    status:
                      match: {url: status}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Device operational condition
                        _required: true
                        index: 33
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: status}
                            index: 34
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Device operational condition
                            choices: [valueCodeableConcept]
                            index: 36
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Device operational condition
                            choiceOf: value
                            index: 37
                        required: [url]
                    operator:
                      match: {url: operator}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The individual performing the action enabled by the device
                        array: true
                        index: 38
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: operator}
                            index: 39
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The individual performing the action enabled by the device
                            choices: [valueReference]
                            index: 41
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: The individual performing the action enabled by the device
                            choiceOf: value
                            index: 42
                        required: [url]
                    period:
                      match: {url: period}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Begin and end dates and times for the device's operation
                        index: 43
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: period}
                            index: 44
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Begin and end dates and times for the device's operation
                            choices: [valuePeriod]
                            index: 46
                          valuePeriod:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Period
                            short: Begin and end dates and times for the device's operation
                            choiceOf: value
                            index: 47
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: operation}
                index: 48
            required: [url, extension]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceAssociation'}
    index: 49
package_version: 0.0.1-snapshot-2
extensions:
  device:
    url: device
    base: {max: '*', min: 0, path: Extension.extension}
    short: Reference to the devices associated with the patient or group
    _required: true
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: device}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Reference to the devices associated with the patient or group
        choices: [valueReference]
        index: 4
      valueReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Reference
        short: Reference to the devices associated with the patient or group
        choiceOf: value
        index: 5
    required: [url]
  category:
    url: category
    base: {max: '*', min: 0, path: Extension.extension}
    short: Describes the relationship between the device and subject
    array: true
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: category}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Describes the relationship between the device and subject
        choices: [valueCodeableConcept]
        index: 9
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Describes the relationship between the device and subject
        choiceOf: value
        index: 10
    required: [url]
  status:
    url: status
    base: {max: '*', min: 0, path: Extension.extension}
    short: implanted | explanted | attached | entered-in-error | unknown
    _required: true
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: status}
        index: 12
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: implanted | explanted | attached | entered-in-error | unknown
        choices: [valueCodeableConcept]
        index: 14
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: implanted | explanted | attached | entered-in-error | unknown
        choiceOf: value
        index: 15
    required: [url]
  statusReason:
    url: statusReason
    base: {max: '*', min: 0, path: Extension.extension}
    short: The reasons given for the current association status
    array: true
    index: 16
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: statusReason}
        index: 17
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The reasons given for the current association status
        choices: [valueCodeableConcept]
        index: 19
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: The reasons given for the current association status
        choiceOf: value
        index: 20
    required: [url]
  bodyStructure:
    url: bodyStructure
    base: {max: '*', min: 0, path: Extension.extension}
    short: Current anatomical location of the device in/on subject
    index: 21
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: bodyStructure}
        index: 22
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Current anatomical location of the device in/on subject
        choices: [valueReference]
        index: 24
      valueReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Reference
        short: Current anatomical location of the device in/on subject
        choiceOf: value
        index: 25
    required: [url]
  period:
    url: period
    base: {max: '*', min: 0, path: Extension.extension}
    short: Begin and end dates and times for the device association
    index: 26
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: period}
        index: 27
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Begin and end dates and times for the device association
        choices: [valuePeriod]
        index: 29
      valuePeriod:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Period
        short: Begin and end dates and times for the device association
        choiceOf: value
        index: 30
    required: [url]
  operation:
    url: operation
    base: {max: '*', min: 0, path: Extension.extension}
    short: The details about the device when it is in use to describe its operation
    array: true
    index: 31
    extensions:
      status:
        url: status
        base: {max: '*', min: 0, path: Extension.extension}
        short: Device operational condition
        _required: true
        index: 33
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: status}
            index: 34
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Device operational condition
            choices: [valueCodeableConcept]
            index: 36
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Device operational condition
            choiceOf: value
            index: 37
        required: [url]
      operator:
        url: operator
        base: {max: '*', min: 0, path: Extension.extension}
        short: The individual performing the action enabled by the device
        array: true
        index: 38
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: operator}
            index: 39
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The individual performing the action enabled by the device
            choices: [valueReference]
            index: 41
          valueReference:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Reference
            short: The individual performing the action enabled by the device
            choiceOf: value
            index: 42
        required: [url]
      period:
        url: period
        base: {max: '*', min: 0, path: Extension.extension}
        short: Begin and end dates and times for the device's operation
        index: 43
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: period}
            index: 44
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Begin and end dates and times for the device's operation
            choices: [valuePeriod]
            index: 46
          valuePeriod:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Period
            short: Begin and end dates and times for the device's operation
            choiceOf: value
            index: 47
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        min: 1
        index: 32
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            status:
              match: {url: status}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Device operational condition
                _required: true
                index: 33
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: status}
                    index: 34
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Device operational condition
                    choices: [valueCodeableConcept]
                    index: 36
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Device operational condition
                    choiceOf: value
                    index: 37
                required: [url]
            operator:
              match: {url: operator}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The individual performing the action enabled by the device
                array: true
                index: 38
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: operator}
                    index: 39
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The individual performing the action enabled by the device
                    choices: [valueReference]
                    index: 41
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: The individual performing the action enabled by the device
                    choiceOf: value
                    index: 42
                required: [url]
            period:
              match: {url: period}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Begin and end dates and times for the device's operation
                index: 43
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: period}
                    index: 44
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Begin and end dates and times for the device's operation
                    choices: [valuePeriod]
                    index: 46
                  valuePeriod:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Period
                    short: Begin and end dates and times for the device's operation
                    choiceOf: value
                    index: 47
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: operation}
        index: 48
    required: [url, extension]
class: extension
kind: complex-type
url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceAssociation
base: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
version: 0.0.1-snapshot-2
required: [url]