PackagesCanonicalsLogsProblems
    Packages
    fhir.trustedhealthapps.org@1.1.0
    https://fhir.trustedhealthapps.org/StructureDefinition/HealthAppPrescriptionUnitPropertyGroupPayor
description: null
package_name: fhir.trustedhealthapps.org
derivation: constraint
name: HealthAppPrescriptionUnitPropertyGroupPayor
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        insurance:
          match: {url: insurance}
          schema:
            short: Krankenkassen und -versicherungen
            mustSupport: true
            index: 1
            elements:
              url:
                pattern: {type: uri, value: insurance}
                type: uri
                index: 2
              value:
                mustSupport: true
                choices: [valueReference]
                index: 4
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['https://fhir.trustedhealthapps.org/StructureDefinition/HealthAppInsurance']
                index: 5
              value[x]:
                elements:
                  reference: {mustSupport: true, index: 6}
                  display: {mustSupport: true, index: 7}
                required: [display, reference]
            required: [value, valueReference]
        selfPayer:
          match: {url: selfPayer}
          schema:
            short: Selbstzahler
            mustSupport: true
            index: 8
            extensions:
              optional:
                url: optional
                short: Optionale Zuzahlung
                mustSupport: true
                index: 10
                elements:
                  url:
                    pattern: {type: uri, value: optional}
                    type: uri
                    index: 11
                  value:
                    mustSupport: true
                    choices: [valueBoolean]
                    index: 13
                  valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 14}
                required: [value, valueBoolean]
              required:
                url: required
                short: Notwendige Zuzahlung
                mustSupport: true
                index: 15
                elements:
                  url:
                    pattern: {type: uri, value: required}
                    type: uri
                    index: 16
                  value:
                    mustSupport: true
                    choices: [valueBoolean]
                    index: 18
                  valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 19}
                required: [value, valueBoolean]
            elements:
              valueBase64Binary: {type: base64Binary, choiceOf: value, index: 23}
              valueAge: {type: Age, choiceOf: value, index: 43}
              valueParameterDefinition: {type: ParameterDefinition, choiceOf: value, index: 67}
              valueTiming: {type: Timing, choiceOf: value, index: 62}
              valueCode: {type: code, choiceOf: value, index: 26}
              valueReference: {type: Reference, choiceOf: value, index: 59}
              valueContributor: {type: Contributor, choiceOf: value, index: 64}
              valueContactDetail: {type: ContactDetail, choiceOf: value, index: 63}
              valueUri: {type: uri, choiceOf: value, index: 39}
              valueUsageContext: {type: UsageContext, choiceOf: value, index: 70}
              valueTime: {type: time, choiceOf: value, index: 37}
              valueDecimal: {type: decimal, choiceOf: value, index: 29}
              valueCanonical: {type: canonical, choiceOf: value, index: 25}
              valueMarkdown: {type: markdown, choiceOf: value, index: 33}
              valueIdentifier: {type: Identifier, choiceOf: value, index: 53}
              valueTriggerDefinition: {type: TriggerDefinition, choiceOf: value, index: 69}
              valueQuantity: {type: Quantity, choiceOf: value, index: 56}
              value:
                choices: [valueBase64Binary, valueBoolean, valueCanonical, valueCode, valueDate, valueDateTime, valueDecimal, valueId, valueInstant, valueInteger, valueMarkdown, valueOid, valuePositiveInt, valueString, valueTime, valueUnsignedInt, valueUri, valueUrl, valueUuid, valueAddress, valueAge, valueAnnotation, valueAttachment, valueCodeableConcept, valueCoding, valueContactPoint, valueCount, valueDistance, valueDuration, valueHumanName, valueIdentifier, valueMoney, valuePeriod, valueQuantity, valueRange, valueRatio, valueReference, valueSampledData, valueSignature, valueTiming, valueContactDetail, valueContributor, valueDataRequirement, valueExpression, valueParameterDefinition, valueRelatedArtifact, valueTriggerDefinition, valueUsageContext, valueDosage]
                index: 22
              valueCount: {type: Count, choiceOf: value, index: 49}
              valueString: {type: string, choiceOf: value, index: 36}
              valueRatio: {type: Ratio, choiceOf: value, index: 58}
              valueBoolean: {type: boolean, choiceOf: value, index: 24}
              valueInstant: {type: instant, choiceOf: value, index: 31}
              valueDateTime: {type: dateTime, choiceOf: value, index: 28}
              valueDate: {type: date, choiceOf: value, index: 27}
              valueDuration: {type: Duration, choiceOf: value, index: 51}
              valueDataRequirement: {type: DataRequirement, choiceOf: value, index: 65}
              valueMoney: {type: Money, choiceOf: value, index: 54}
              valueCoding: {type: Coding, choiceOf: value, index: 47}
              valueExpression: {type: Expression, choiceOf: value, index: 66}
              extension:
                index: 9
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    optional:
                      match: {url: optional}
                      schema:
                        short: Optionale Zuzahlung
                        mustSupport: true
                        index: 10
                        elements:
                          url:
                            pattern: {type: uri, value: optional}
                            type: uri
                            index: 11
                          value:
                            mustSupport: true
                            choices: [valueBoolean]
                            index: 13
                          valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 14}
                        required: [value, valueBoolean]
                    required:
                      match: {url: required}
                      schema:
                        short: Notwendige Zuzahlung
                        mustSupport: true
                        index: 15
                        elements:
                          url:
                            pattern: {type: uri, value: required}
                            type: uri
                            index: 16
                          value:
                            mustSupport: true
                            choices: [valueBoolean]
                            index: 18
                          valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 19}
                        required: [value, valueBoolean]
              valueSampledData: {type: SampledData, choiceOf: value, index: 60}
              valueDosage: {type: Dosage, choiceOf: value, index: 71}
              valueContactPoint: {type: ContactPoint, choiceOf: value, index: 48}
              url:
                pattern: {type: uri, value: selfPayer}
                type: uri
                index: 20
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 46}
              valueAnnotation: {type: Annotation, choiceOf: value, index: 44}
              valuePeriod: {type: Period, choiceOf: value, index: 55}
              valueDistance: {type: Distance, choiceOf: value, index: 50}
              valueRange: {type: Range, choiceOf: value, index: 57}
              valueSignature: {type: Signature, choiceOf: value, index: 61}
              valueUuid: {type: uuid, choiceOf: value, index: 41}
              valueInteger: {type: integer, choiceOf: value, index: 32}
              valueHumanName: {type: HumanName, choiceOf: value, index: 52}
              valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 38}
              valueAttachment: {type: Attachment, choiceOf: value, index: 45}
              valueOid: {type: oid, choiceOf: value, index: 34}
              valueAddress: {type: Address, choiceOf: value, index: 42}
              valueRelatedArtifact: {type: RelatedArtifact, choiceOf: value, index: 68}
              valuePositiveInt: {type: positiveInt, choiceOf: value, index: 35}
              valueId: {type: id, choiceOf: value, index: 30}
              valueUrl: {type: url, choiceOf: value, index: 40}
  url:
    pattern: {type: uri, value: 'https://fhir.trustedhealthapps.org/StructureDefinition/HealthAppPrescriptionUnitPropertyGroupPayor'}
    type: uri
    index: 72
  value:
    choices: []
    index: 74
package_version: 1.1.0
extensions:
  insurance:
    url: insurance
    short: Krankenkassen und -versicherungen
    mustSupport: true
    index: 1
    elements:
      url:
        pattern: {type: uri, value: insurance}
        type: uri
        index: 2
      value:
        mustSupport: true
        choices: [valueReference]
        index: 4
      valueReference:
        type: Reference
        mustSupport: true
        choiceOf: value
        refers: ['https://fhir.trustedhealthapps.org/StructureDefinition/HealthAppInsurance']
        index: 5
      value[x]:
        elements:
          reference: {mustSupport: true, index: 6}
          display: {mustSupport: true, index: 7}
        required: [display, reference]
    required: [value, valueReference]
  selfPayer:
    url: selfPayer
    short: Selbstzahler
    mustSupport: true
    index: 8
    extensions:
      optional:
        url: optional
        short: Optionale Zuzahlung
        mustSupport: true
        index: 10
        elements:
          url:
            pattern: {type: uri, value: optional}
            type: uri
            index: 11
          value:
            mustSupport: true
            choices: [valueBoolean]
            index: 13
          valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 14}
        required: [value, valueBoolean]
      required:
        url: required
        short: Notwendige Zuzahlung
        mustSupport: true
        index: 15
        elements:
          url:
            pattern: {type: uri, value: required}
            type: uri
            index: 16
          value:
            mustSupport: true
            choices: [valueBoolean]
            index: 18
          valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 19}
        required: [value, valueBoolean]
    elements:
      valueBase64Binary: {type: base64Binary, choiceOf: value, index: 23}
      valueAge: {type: Age, choiceOf: value, index: 43}
      valueParameterDefinition: {type: ParameterDefinition, choiceOf: value, index: 67}
      valueTiming: {type: Timing, choiceOf: value, index: 62}
      valueCode: {type: code, choiceOf: value, index: 26}
      valueReference: {type: Reference, choiceOf: value, index: 59}
      valueContributor: {type: Contributor, choiceOf: value, index: 64}
      valueContactDetail: {type: ContactDetail, choiceOf: value, index: 63}
      valueUri: {type: uri, choiceOf: value, index: 39}
      valueUsageContext: {type: UsageContext, choiceOf: value, index: 70}
      valueTime: {type: time, choiceOf: value, index: 37}
      valueDecimal: {type: decimal, choiceOf: value, index: 29}
      valueCanonical: {type: canonical, choiceOf: value, index: 25}
      valueMarkdown: {type: markdown, choiceOf: value, index: 33}
      valueIdentifier: {type: Identifier, choiceOf: value, index: 53}
      valueTriggerDefinition: {type: TriggerDefinition, choiceOf: value, index: 69}
      valueQuantity: {type: Quantity, choiceOf: value, index: 56}
      value:
        choices: [valueBase64Binary, valueBoolean, valueCanonical, valueCode, valueDate, valueDateTime, valueDecimal, valueId, valueInstant, valueInteger, valueMarkdown, valueOid, valuePositiveInt, valueString, valueTime, valueUnsignedInt, valueUri, valueUrl, valueUuid, valueAddress, valueAge, valueAnnotation, valueAttachment, valueCodeableConcept, valueCoding, valueContactPoint, valueCount, valueDistance, valueDuration, valueHumanName, valueIdentifier, valueMoney, valuePeriod, valueQuantity, valueRange, valueRatio, valueReference, valueSampledData, valueSignature, valueTiming, valueContactDetail, valueContributor, valueDataRequirement, valueExpression, valueParameterDefinition, valueRelatedArtifact, valueTriggerDefinition, valueUsageContext, valueDosage]
        index: 22
      valueCount: {type: Count, choiceOf: value, index: 49}
      valueString: {type: string, choiceOf: value, index: 36}
      valueRatio: {type: Ratio, choiceOf: value, index: 58}
      valueBoolean: {type: boolean, choiceOf: value, index: 24}
      valueInstant: {type: instant, choiceOf: value, index: 31}
      valueDateTime: {type: dateTime, choiceOf: value, index: 28}
      valueDate: {type: date, choiceOf: value, index: 27}
      valueDuration: {type: Duration, choiceOf: value, index: 51}
      valueDataRequirement: {type: DataRequirement, choiceOf: value, index: 65}
      valueMoney: {type: Money, choiceOf: value, index: 54}
      valueCoding: {type: Coding, choiceOf: value, index: 47}
      valueExpression: {type: Expression, choiceOf: value, index: 66}
      extension:
        index: 9
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            optional:
              match: {url: optional}
              schema:
                short: Optionale Zuzahlung
                mustSupport: true
                index: 10
                elements:
                  url:
                    pattern: {type: uri, value: optional}
                    type: uri
                    index: 11
                  value:
                    mustSupport: true
                    choices: [valueBoolean]
                    index: 13
                  valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 14}
                required: [value, valueBoolean]
            required:
              match: {url: required}
              schema:
                short: Notwendige Zuzahlung
                mustSupport: true
                index: 15
                elements:
                  url:
                    pattern: {type: uri, value: required}
                    type: uri
                    index: 16
                  value:
                    mustSupport: true
                    choices: [valueBoolean]
                    index: 18
                  valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 19}
                required: [value, valueBoolean]
      valueSampledData: {type: SampledData, choiceOf: value, index: 60}
      valueDosage: {type: Dosage, choiceOf: value, index: 71}
      valueContactPoint: {type: ContactPoint, choiceOf: value, index: 48}
      url:
        pattern: {type: uri, value: selfPayer}
        type: uri
        index: 20
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 46}
      valueAnnotation: {type: Annotation, choiceOf: value, index: 44}
      valuePeriod: {type: Period, choiceOf: value, index: 55}
      valueDistance: {type: Distance, choiceOf: value, index: 50}
      valueRange: {type: Range, choiceOf: value, index: 57}
      valueSignature: {type: Signature, choiceOf: value, index: 61}
      valueUuid: {type: uuid, choiceOf: value, index: 41}
      valueInteger: {type: integer, choiceOf: value, index: 32}
      valueHumanName: {type: HumanName, choiceOf: value, index: 52}
      valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 38}
      valueAttachment: {type: Attachment, choiceOf: value, index: 45}
      valueOid: {type: oid, choiceOf: value, index: 34}
      valueAddress: {type: Address, choiceOf: value, index: 42}
      valueRelatedArtifact: {type: RelatedArtifact, choiceOf: value, index: 68}
      valuePositiveInt: {type: positiveInt, choiceOf: value, index: 35}
      valueId: {type: id, choiceOf: value, index: 30}
      valueUrl: {type: url, choiceOf: value, index: 40}
class: extension
kind: complex-type
url: https://fhir.trustedhealthapps.org/StructureDefinition/HealthAppPrescriptionUnitPropertyGroupPayor
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.1.0