PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.use-case.omi@0.3.20
    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:
  extension:
    type: Extension
    mustSupport: true
    url: http://omi.de/fhir/registry/StructureDefinition/build-hash-extension
    index: 0
    slicing:
      slices:
        buildHashExtension:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://omi.de/fhir/registry/StructureDefinition/build-hash-extension', index: 0}
          min: 0
          max: 1
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: C0449438, system: 'http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl', display: Status}
    type: CodeableConcept
    index: 1
  component:
    index: 2
    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: 3
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: statuscode, system: 'http://omi.de/fhir/registry/sid/component-codes'}
                type: CodeableConcept
                index: 4
              value:
                choices: []
                index: 6
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        _required: true
                        index: 8
                      min: 1
                      max: 1
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 9
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, _required: true, index: 9}
                      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: 10
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: queue-length, system: 'http://omi.de/fhir/registry/sid/component-codes'}
                type: CodeableConcept
                index: 11
              value:
                choices: []
                index: 13
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueInteger:
                      match: {}
                      schema:
                        choices: [valueInteger]
                        _required: true
                        index: 15
                      min: 1
                      max: 1
              valueInteger:
                type: integer
                choiceOf: value
                index: 16
                slicing:
                  slices:
                    valueInteger:
                      match: {}
                      schema: {type: integer, choiceOf: value, _required: true, index: 16}
                      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: 17
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: estimated-waiting-time, system: 'http://omi.de/fhir/registry/sid/component-codes'}
                type: CodeableConcept
                index: 18
              value:
                choices: []
                index: 20
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        choices: [valueQuantity]
                        _required: true
                        index: 22
                      min: 1
                      max: 1
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 23
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, choiceOf: value, _required: true, index: 23}
                      min: 1
                      max: 1
              value[x]:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://unitsofmeasure.org'}
                    type: uri
                    index: 24
                  code:
                    binding: {strength: required, valueSet: 'http://omi.de/fhir/registry/ValueSet/UCUMTimeUnitsVS'}
                    index: 25
            required: [value, valueQuantity]
        inference-price:
          match:
            code:
              coding:
              - {code: inference-price, system: 'http://omi.de/fhir/registry/sid/component-codes'}
          schema:
            index: 26
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: inference-price, system: 'http://omi.de/fhir/registry/sid/component-codes'}
                type: CodeableConcept
                index: 27
              value:
                choices: []
                index: 29
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        choices: [valueQuantity]
                        _required: true
                        index: 31
                      min: 1
                      max: 1
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 32
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, choiceOf: value, _required: true, index: 32}
                      min: 1
                      max: 1
              value[x]:
                elements:
                  system:
                    pattern: {type: uri, value: 'urn:iso:std:iso:4217'}
                    type: uri
                    index: 33
                  code:
                    pattern: {type: code, value: EUR}
                    type: code
                    index: 34
            required: [value, valueQuantity]
package_version: 0.3.20
extensions:
  buildHashExtension: {url: 'http://omi.de/fhir/registry/StructureDefinition/build-hash-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 0}
class: profile
kind: resource
url: http://omi.de/fhir/registry/StructureDefinition/HeartbeatObservationProfile
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.3.20