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