PackagesCanonicalsLogsProblems
    Packages
    bonsai.poc.second.test.rc1@1.3.0
    http://electronichealth.se/fhir/StructureDefinition/NLLTotalQuantity
description: null
package_name: bonsai.poc.second.test.rc1
derivation: constraint
name: NLLTotalQuantity
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        prescribed:
          match: {url: prescribed}
          schema:
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: uri, value: prescribed}
                type: uri
                index: 2
              value:
                choices: [valueQuantity]
                index: 4
              valueQuantity: {type: Quantity, choiceOf: value, index: 5}
              value[x]:
                elements:
                  value: {index: 6}
                  comparator: {index: 7}
                required: [value]
        remaining:
          match: {url: remaining}
          schema:
            _required: true
            index: 8
            elements:
              url:
                pattern: {type: uri, value: remaining}
                type: uri
                index: 9
              value:
                choices: [valueQuantity]
                index: 11
              valueQuantity: {type: Quantity, choiceOf: value, index: 12}
              value[x]:
                elements:
                  value: {index: 13}
                  comparator: {index: 14}
                required: [value]
  url:
    pattern: {type: uri, value: 'http://electronichealth.se/fhir/StructureDefinition/NLLTotalQuantity'}
    type: uri
    index: 15
  value:
    choices: []
    index: 17
package_version: 1.3.0
extensions:
  prescribed:
    url: prescribed
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: uri, value: prescribed}
        type: uri
        index: 2
      value:
        choices: [valueQuantity]
        index: 4
      valueQuantity: {type: Quantity, choiceOf: value, index: 5}
      value[x]:
        elements:
          value: {index: 6}
          comparator: {index: 7}
        required: [value]
  remaining:
    url: remaining
    _required: true
    index: 8
    elements:
      url:
        pattern: {type: uri, value: remaining}
        type: uri
        index: 9
      value:
        choices: [valueQuantity]
        index: 11
      valueQuantity: {type: Quantity, choiceOf: value, index: 12}
      value[x]:
        elements:
          value: {index: 13}
          comparator: {index: 14}
        required: [value]
class: extension
kind: complex-type
url: http://electronichealth.se/fhir/StructureDefinition/NLLTotalQuantity
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0