PackagesCanonicalsLogsProblems
    Packages
    de.gematik.tiflow.chargeitem@2.0.0
    https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_PAR_Patch_ChargeItem_Input
description: This profile defines the parameters for changing Information for the ChargeItem.
package_name: de.gematik.tiflow.chargeitem
derivation: constraint
name: GEM_ERPCHRG_PR_PAR_Patch_ChargeItem_Input
type: Parameters
elements:
  parameter:
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: name, type: pattern}
      min: 1
      max: 1
      slices:
        markingFlag:
          match: {name: markingFlag}
          schema:
            constraint:
              erpcharge-parameters-patch-chargeitem-part: {human: At least one Part must be present., source: 'https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_PAR_Patch_ChargeItem_Input', severity: error, expression: part.exists()}
            mustSupport: true
            _required: true
            index: 1
            elements:
              name:
                mustSupport: true
                pattern: {type: String, value: markingFlag}
                index: 2
              value:
                choices: []
                index: 4
              resource: {index: 5}
              part:
                mustSupport: true
                index: 6
                slicing:
                  rules: closed
                  discriminator:
                  - {path: name, type: pattern}
                  min: null
                  slices:
                    insuranceProvider:
                      match: {name: insuranceProvider}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 7
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: String, value: insuranceProvider}
                            index: 8
                          value:
                            choices: [valueBoolean]
                            index: 10
                          valueBoolean: {type: boolean, choiceOf: value, index: 11}
                          resource: {index: 12}
                          part: {index: 13}
                        required: [value, valueBoolean]
                    subsidy:
                      match: {name: subsidy}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 14
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: String, value: subsidy}
                            index: 15
                          value:
                            choices: [valueBoolean]
                            index: 17
                          valueBoolean: {type: boolean, choiceOf: value, index: 18}
                          resource: {index: 19}
                          part: {index: 20}
                        required: [value, valueBoolean]
                    taxOffice:
                      match: {name: taxOffice}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        index: 21
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: String, value: taxOffice}
                            index: 22
                          value:
                            choices: [valueBoolean]
                            index: 24
                          valueBoolean: {type: boolean, choiceOf: value, index: 25}
                          resource: {index: 26}
                          part: {index: 27}
                        required: [value, valueBoolean]
package_version: 2.0.0
class: profile
kind: resource
url: https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_PAR_Patch_ChargeItem_Input
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 2.0.0
required: [parameter]