PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.iwlz@1.0.0-poc8
    http://nictiz.nl/fhir/StructureDefinition/iwlz-GeindiceerdZorgzwaartepakket-QuestionnaireResponse
description: Gegevens over een geindiceerd zorgzwaartepakket.
package_name: nictiz.fhir.nl.stu3.iwlz
derivation: constraint
name: iwlz-GeindiceerdZorgzwaartepakket-QuestionnaireResponse
type: QuestionnaireResponse
elements:
  questionnaire: {index: 3}
  parent: {index: 2}
  item:
    array: true
    min: 3
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: linkId, type: value}
      min: 3
      slices:
        zzpCode:
          match: {linkId: '1'}
          schema:
            _required: true
            index: 10
            elements:
              linkId:
                pattern: {type: String, value: '1'}
                index: 11
              definition: {index: 12}
              text:
                pattern: {type: String, value: Gecodeerde aanduiding van een zorgzwaartepakket.}
                index: 13
              subject: {index: 14}
              answer:
                index: 15
                elements:
                  valueCoding:
                    type: Coding
                    index: 16
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema: {type: Coding, _required: true, index: 16}
                          min: 1
                  item: {index: 17}
                required: [valueCoding]
              item: {index: 18}
            required: [answer]
        ingangsdatum:
          match: {linkId: '2'}
          schema:
            _required: true
            index: 19
            elements:
              linkId:
                pattern: {type: String, value: '2'}
                index: 20
              definition: {index: 21}
              text:
                pattern: {type: String, value: De datum die aangeeft vanaf welke datum de geindiceerde zorgeenheid rechtsgeldig is.}
                index: 22
              subject: {index: 23}
              answer:
                index: 24
                elements:
                  valueDate:
                    type: date
                    index: 25
                    slicing:
                      slices:
                        valueDate:
                          match: {}
                          schema: {type: date, _required: true, index: 25}
                          min: 1
                  item: {index: 26}
                required: [valueDate]
              item: {index: 27}
            required: [answer]
        einddatum:
          match: {linkId: '3'}
          schema:
            index: 28
            elements:
              linkId:
                pattern: {type: String, value: '3'}
                index: 29
              definition: {index: 30}
              subject: {index: 31}
              answer:
                index: 32
                elements:
                  valueDate:
                    type: date
                    index: 33
                    slicing:
                      slices:
                        valueDate:
                          match: {}
                          schema: {type: date, _required: true, index: 33}
                          min: 1
                  item: {index: 34}
                required: [valueDate]
              item: {index: 35}
            required: [answer]
        klasse:
          match: {linkId: '4'}
          schema:
            _required: true
            index: 36
            elements:
              linkId:
                pattern: {type: String, value: '4'}
                index: 37
              definition: {index: 38}
              text:
                pattern: {type: String, value: Gegevens over een geindiceerd zorgzwaartepakket}
                index: 39
              subject: {index: 40}
              answer:
                index: 41
                elements:
                  valueCoding:
                    type: Coding
                    index: 42
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema: {type: Coding, _required: true, index: 42}
                          min: 1
                  item: {index: 43}
                required: [valueCoding]
              item: {index: 44}
            required: [answer]
        voorkeurClient:
          match: {linkId: '5'}
          schema:
            index: 45
            elements:
              linkId:
                pattern: {type: String, value: '5'}
                index: 46
              definition: {index: 47}
              text:
                pattern: {type: String, value: Gecodeerde aanduiding van de voorkeur van de client ten aanzien van plaats en vorm van zorglevering.}
                index: 48
              subject: {index: 49}
              answer:
                index: 50
                elements:
                  valueCoding:
                    type: Coding
                    index: 51
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema: {type: Coding, _required: true, index: 51}
                          min: 1
                  item: {index: 52}
                required: [valueCoding]
              item: {index: 53}
            required: [answer]
        instellingVoorkeur:
          match: {linkId: '6'}
          schema:
            index: 54
            elements:
              linkId:
                pattern: {type: String, value: '6'}
                index: 55
              definition: {index: 56}
              text:
                pattern: {type: String, value: Identificerende code van de instelling die de voorkeur heeft van de client.}
                index: 57
              subject: {index: 58}
              answer:
                index: 59
                elements:
                  valueString:
                    type: string
                    constraint:
                      RS036: {human: Vullen met 8 cijfers., severity: error, expression: 'matches(''[0-9]{8}'')', requirements: AGB-code}
                    index: 60
                    slicing:
                      slices:
                        valueString:
                          match: {}
                          schema:
                            type: string
                            constraint:
                              RS036: {human: Vullen met 8 cijfers., severity: error, expression: 'matches(''[0-9]{8}'')', requirements: AGB-code}
                            _required: true
                            index: 60
                          min: 1
                  item: {index: 61}
                required: [valueString]
              item: {index: 62}
            required: [answer]
        commentaar:
          match: {linkId: '7'}
          schema:
            index: 63
            elements:
              linkId:
                pattern: {type: String, value: '7'}
                index: 64
              definition: {index: 65}
              text:
                pattern: {type: String, value: Vrije tekst (bijvoorbeeld toelichting) in een bericht.}
                index: 66
              subject: {index: 67}
              answer:
                index: 68
                elements:
                  valueString:
                    type: string
                    index: 69
                    slicing:
                      slices:
                        valueString:
                          match: {}
                          schema: {type: string, _required: true, index: 69}
                          min: 1
                  item: {index: 70}
                required: [valueString]
              item: {index: 71}
            required: [answer]
  source: {index: 8}
  author: {index: 7}
  identifier: {index: 0}
  context: {index: 5}
  basedOn: {index: 1}
  authored: {index: 6}
  subject:
    type: Reference
    refers: ['http://nictiz.nl/fhir/StructureDefinition/iwlz-Persoon']
    index: 4
package_version: 1.0.0-poc8
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/iwlz-GeindiceerdZorgzwaartepakket-QuestionnaireResponse
base: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
version: null
required: [subject]