PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.uv.phd@2.0.0-ballot
    http://hl7.org/fhir/uv/phd/StructureDefinition/PhgDevice
description: Base StructureDefinition for the Device Resource for a PHG
package_name: rs/hl7.fhir.uv.phd
derivation: constraint
name: PhgDevice
type: Device
elements:
  identifier:
    short: Information that uniquely describes the personal health device
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: type.coding.system, type: value}
      - {path: type.coding.code, type: value}
      min: 1
      slices:
        systemIdIdentifier:
          match:
            type:
              coding: {system: 'http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaDeviceIdentifiers', code: SYSID}
          schema:
            short: System Id identifier
            _required: true
            index: 1
            elements:
              type:
                index: 2
                elements:
                  coding:
                    short: Indicates this is the IEEE 11073 System Id identifier
                    index: 3
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaDeviceIdentifiers'}
                        type: uri
                        index: 4
                      code:
                        pattern: {type: code, value: SYSID}
                        type: code
                        index: 5
                    required: [code, system]
                required: [coding]
              system:
                short: EUI-64 system identifier
                pattern: {type: uri, value: 'urn:oid:1.2.840.10004.1.1.1.0.0.1.0.0.1.2680'}
                type: uri
                index: 6
              value: {short: System id value from System-Id attribute, index: 7}
            required: [system, type, value]
        btmacAddressIdentifier:
          match:
            type:
              coding: {system: 'http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaDeviceIdentifiers', code: BTMAC}
          schema:
            short: Bluetooth MAC Transport address identifier
            index: 8
            elements:
              type:
                index: 9
                elements:
                  coding:
                    short: Indicates this is the Bluetooth Mac address identifier
                    index: 10
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaDeviceIdentifiers'}
                        type: uri
                        index: 11
                      code:
                        pattern: {type: code, value: BTMAC}
                        type: code
                        index: 12
                    required: [code, system]
                required: [coding]
              system:
                pattern: {type: uri, value: 'http://hl7.org/fhir/sid/eui-48/bluetooth'}
                type: uri
                index: 13
              value: {index: 14}
            required: [system, type, value]
        macAddressIdentifier:
          match:
            type:
              coding: {system: 'http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaDeviceIdentifiers', code: ETHMAC}
          schema:
            short: MAC Transport address identifier
            index: 15
            elements:
              type:
                index: 16
                elements:
                  coding:
                    short: Indicates this is the Mac address identifier
                    index: 17
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaDeviceIdentifiers'}
                        type: uri
                        index: 18
                      code:
                        pattern: {type: code, value: ETHMAC}
                        type: code
                        index: 19
                    required: [code, system]
                required: [coding]
              system:
                pattern: {type: uri, value: 'http://hl7.org/fhir/sid/eui-48/ethernet'}
                type: uri
                index: 20
              value: {index: 21}
            required: [system, type, value]
  manufacturer: {short: Manufacturer name, index: 22}
  serialNumber: {short: Serial number, index: 23}
  modelNumber: {short: Model number, index: 24}
  type:
    short: Indicates the device is a PHG.
    index: 25
    elements:
      coding:
        index: 26
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            MDCType:
              match: {system: 'urn:iso:std:iso:11073:10101'}
              schema:
                short: Required MDC code system entry
                _required: true
                index: 27
                elements:
                  system:
                    short: Identifies IEEE 11073-10101 coding system
                    pattern: {type: uri, value: 'urn:iso:std:iso:11073:10101'}
                    type: uri
                    index: 28
                  code:
                    short: Indicates PHG
                    pattern: {type: code, value: '531981'}
                    type: code
                    index: 29
                required: [code, system]
      text: {index: 30}
    required: [coding]
  specialization:
    short: This element contains an entry for each supported specialization or a generic representation
    index: 31
    elements:
      systemType:
        short: The specialization standard supported by the PHG.
        index: 32
        elements:
          coding:
            index: 33
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: 1
              slices:
                MDCType:
                  match: {system: 'urn:iso:std:iso:11073:10101'}
                  schema:
                    short: Required MDC code system entry for specializations
                    _required: true
                    index: 34
                    elements:
                      system:
                        short: The 11073-10101 system identifier
                        pattern: {type: uri, value: 'urn:iso:std:iso:11073:10101'}
                        type: uri
                        index: 35
                      code: {short: The 11073-10101 specialization code. Generic indicates it supports all., index: 36}
                    required: [code, system]
        required: [coding]
      version: {short: The version of the specialization standard supported by the PHG, index: 37}
  version:
    short: A firmware, hardware, software, internal protocol may be reported for a PHG. A Continua version shall be reported.
    index: 38
    elements:
      type:
        index: 39
        elements:
          coding:
            index: 40
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: 1
              slices:
                MDCType:
                  match: {system: 'urn:iso:std:iso:11073:10101'}
                  schema:
                    short: Required MDC code system entry
                    _required: true
                    index: 41
                    elements:
                      system:
                        short: Indicates the codes come from the MDC coding system
                        pattern: {type: uri, value: 'urn:iso:std:iso:11073:10101'}
                        type: uri
                        index: 42
                      code: {short: A code indicating the type of version the Device.version.value refers to., index: 43}
                    required: [code, system]
        required: [coding]
      value: {short: The version, index: 44}
    required: [type]
  property:
    index: 45
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: 1
      slices:
        bitProperties:
          match: {type: null}
          schema:
            short: Properties reported in BITs fields
            array: true
            index: 46
            elements:
              type:
                short: Tells what the BITs item is
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/phd/ValueSet/ASN1attribute'}
                index: 47
                elements:
                  coding:
                    short: Required ASN1 code system entry
                    index: 48
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://hl7.org/fhir/uv/phd/CodeSystem/ASN1ToHL7'}
                        type: uri
                        index: 49
                      code: {index: 50}
                    required: [code, system]
                  text: {index: 51}
                required: [coding]
              valueQuantity: {index: 52}
              valueCode:
                index: 53
                elements:
                  coding:
                    index: 54
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      min: 1
                      slices:
                        V2Binary:
                          match: {system: 'http://terminology.hl7.org/CodeSystem/v2-0136'}
                          schema:
                            short: Required V2 Binary code system entry
                            _required: true
                            index: 55
                            elements:
                              system:
                                pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0136'}
                                type: uri
                                index: 56
                              code: {index: 57}
                            required: [code, system]
                required: [coding]
            required: [valueCode]
        quantitiesProperty:
          match: {type: null}
          schema:
            short: The PHG properties represented by quantities such as time synchronization accuracy
            array: true
            index: 58
            elements:
              type:
                short: The type of time quantity
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/phd/ValueSet/Quantity11073MDC'}
                index: 59
                elements:
                  coding:
                    short: Required MDC code system entry
                    index: 60
                    elements:
                      system:
                        pattern: {type: uri, value: 'urn:iso:std:iso:11073:10101'}
                        type: uri
                        index: 61
                      code: {index: 62}
                    required: [code, system]
                  text: {index: 63}
                required: [coding]
              valueQuantity: {index: 64}
              valueCode: {index: 65}
            required: [valueQuantity]
        codedListProperties:
          match: {type: null}
          schema:
            short: The device properties represented by a list of codes such as the list of certified PHD or H-FS interfaces
            array: true
            index: 66
            elements:
              type:
                short: What the coded list is
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/phd/ValueSet/CodeableConcept11073MDC'}
                index: 67
                elements:
                  coding:
                    short: Required MDC code system entry
                    index: 68
                    elements:
                      system:
                        pattern: {type: uri, value: 'urn:iso:std:iso:11073:10101'}
                        type: uri
                        index: 69
                      code: {index: 70}
                    required: [code, system]
                  text: {index: 71}
                required: [coding]
              valueQuantity: {index: 72}
              valueCode:
                short: There shall be one valueCode entry for every item supported by the PHG in the list
                index: 73
                elements:
                  coding:
                    index: 74
                    elements:
                      system: {index: 75}
                      code: {index: 76}
                    required: [code, system]
                required: [coding]
            required: [valueCode]
package_version: 2.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/uv/phd/StructureDefinition/PhgDevice
base: http://hl7.org/fhir/StructureDefinition/Device
version: 2.0.0-ballot
required: [identifier, property, type, version]