PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.use-case.omi@0.3.10
    http://omi.de/fhir/registry/StructureDefinition/ServiceStatusExtension
description: Extension to capture heartbeat parameters including status code, queue length, estimated waiting time, and inference price.
package_name: de.medizininformatikinitiative.use-case.omi
derivation: constraint
name: ServiceStatusExtension
type: Extension
elements:
  extension:
    index: 0
    slicing:
      slices:
        statuscode:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: statuscode}
                index: 3
              value:
                choices: [valueCode]
                index: 5
              valueCode: {type: code, choiceOf: value, index: 6}
            required: [valueCode, value]
        queue-length:
          match: {}
          schema:
            mustSupport: true
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: Uri, value: queue-length}
                index: 9
              value:
                choices: [valueInteger]
                index: 11
              valueInteger: {type: integer, choiceOf: value, index: 12}
        estimated-waiting-time:
          match: {}
          schema:
            mustSupport: true
            index: 13
            extensions: {}
            elements:
              extension: {index: 14}
              url:
                pattern: {type: Uri, value: estimated-waiting-time}
                index: 15
              value:
                pattern:
                  type: Quantity
                  value: {code: min, unit: Minutes, system: 'http://unitsofmeasure.org'}
                choices: [valueQuantity]
                index: 17
              valueQuantity:
                type: Quantity
                pattern:
                  type: Quantity
                  value: {code: min, unit: Minutes, system: 'http://unitsofmeasure.org'}
                choiceOf: value
                index: 18
        inference-price:
          match: {}
          schema:
            mustSupport: true
            index: 19
            extensions: {}
            elements:
              extension: {index: 20}
              url:
                pattern: {type: Uri, value: inference-price}
                index: 21
              value:
                choices: [valueMoney]
                index: 23
              valueMoney: {type: Money, choiceOf: value, index: 24}
  url:
    pattern: {type: Uri, value: 'http://omi.de/fhir/registry/StructureDefinition/ServiceStatusExtension'}
    index: 25
  value:
    choices: []
    index: 27
package_version: 0.3.10
extensions:
  statuscode:
    url: null
    mustSupport: true
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: statuscode}
        index: 3
      value:
        choices: [valueCode]
        index: 5
      valueCode: {type: code, choiceOf: value, index: 6}
    required: [valueCode, value]
  queue-length:
    url: null
    mustSupport: true
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: Uri, value: queue-length}
        index: 9
      value:
        choices: [valueInteger]
        index: 11
      valueInteger: {type: integer, choiceOf: value, index: 12}
  estimated-waiting-time:
    url: null
    mustSupport: true
    index: 13
    extensions: {}
    elements:
      extension: {index: 14}
      url:
        pattern: {type: Uri, value: estimated-waiting-time}
        index: 15
      value:
        pattern:
          type: Quantity
          value: {code: min, unit: Minutes, system: 'http://unitsofmeasure.org'}
        choices: [valueQuantity]
        index: 17
      valueQuantity:
        type: Quantity
        pattern:
          type: Quantity
          value: {code: min, unit: Minutes, system: 'http://unitsofmeasure.org'}
        choiceOf: value
        index: 18
  inference-price:
    url: null
    mustSupport: true
    index: 19
    extensions: {}
    elements:
      extension: {index: 20}
      url:
        pattern: {type: Uri, value: inference-price}
        index: 21
      value:
        choices: [valueMoney]
        index: 23
      valueMoney: {type: Money, choiceOf: value, index: 24}
class: extension
kind: complex-type
url: http://omi.de/fhir/registry/StructureDefinition/ServiceStatusExtension
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.3.10
required: [extension]