PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.use-case.omi@0.3.18
    http://omi.de/fhir/registry/StructureDefinition/HeartbeatObservationProfile
description: Profile for representing heartbeat service parameters status, queue length, wait time, and price.
package_name: de.medizininformatikinitiative.use-case.omi
derivation: constraint
name: HeartbeatObservationProfile
type: Observation
elements:
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: C0449438, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl', display: Status}
    type: CodeableConcept
    index: 0
  component:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: null
      slices:
        statuscode:
          match:
            code:
              coding:
              - {code: statuscode, system: 'http://omi.de/fhir/registry/sid/component-codes'}
          schema:
            index: 2
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: statuscode, system: 'http://omi.de/fhir/registry/sid/component-codes'}
                type: CodeableConcept
                index: 3
              value:
                choices: []
                index: 5
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        _required: true
                        index: 7
                      min: 1
                      max: 1
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 8
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 8}
                      min: 1
                      max: 1
            required: [value, valueCodeableConcept]
        queue-length:
          match:
            code:
              coding:
              - {code: queue-length, system: 'http://omi.de/fhir/registry/sid/component-codes'}
          schema:
            index: 9
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: queue-length, system: 'http://omi.de/fhir/registry/sid/component-codes'}
                type: CodeableConcept
                index: 10
              value:
                choices: []
                index: 12
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueInteger:
                      match: {}
                      schema:
                        choices: [valueInteger]
                        _required: true
                        index: 14
                      min: 1
                      max: 1
              valueInteger:
                type: integer
                choiceOf: value
                index: 15
                slicing:
                  slices:
                    valueInteger:
                      match: {}
                      schema: {type: integer, choiceOf: value, _required: true, index: 15}
                      min: 1
                      max: 1
            required: [value, valueInteger]
        estimated-waiting-time:
          match:
            code:
              coding:
              - {code: estimated-waiting-time, system: 'http://omi.de/fhir/registry/sid/component-codes'}
          schema:
            index: 16
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: estimated-waiting-time, system: 'http://omi.de/fhir/registry/sid/component-codes'}
                type: CodeableConcept
                index: 17
              value:
                choices: []
                index: 19
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        choices: [valueQuantity]
                        _required: true
                        index: 21
                      min: 1
                      max: 1
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 22
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, choiceOf: value, _required: true, index: 22}
                      min: 1
                      max: 1
              value[x]:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://unitsofmeasure.org'}
                    type: uri
                    index: 23
                  code:
                    pattern: {type: code, value: min}
                    type: code
                    index: 24
            required: [value, valueQuantity]
        inference-price:
          match:
            code:
              coding:
              - {code: inference-price, system: 'http://omi.de/fhir/registry/sid/component-codes'}
          schema:
            index: 25
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: inference-price, system: 'http://omi.de/fhir/registry/sid/component-codes'}
                type: CodeableConcept
                index: 26
              value:
                choices: []
                index: 28
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        choices: [valueQuantity]
                        _required: true
                        index: 30
                      min: 1
                      max: 1
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 31
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, choiceOf: value, _required: true, index: 31}
                      min: 1
                      max: 1
              value[x]:
                elements:
                  system:
                    pattern: {type: uri, value: 'urn:iso:std:iso:4217'}
                    type: uri
                    index: 32
            required: [value, valueQuantity]
package_version: 0.3.18
class: profile
kind: resource
url: http://omi.de/fhir/registry/StructureDefinition/HeartbeatObservationProfile
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.3.18