PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/DCH-FeedingStatus-QuestionnaireResponse-1
description: This QuestionnaireResponse resource is constrained to represent the responses given to a Feeding Status questionnaire, to support the Digital Child Health project.
package_name: NHSD.Assets.STU3
derivation: constraint
name: DCH-FeedingStatus-QuestionnaireResponse-1
type: QuestionnaireResponse
elements:
  questionnaire: {index: 7}
  parent: {index: 6}
  item:
    index: 16
    slicing:
      rules: open
      discriminator:
      - {path: linkId, type: value}
      min: null
      slices:
        firstMilkFeed:
          match: {linkId: firstMilkFeed}
          schema:
            short: Whether or not the baby's first feed was breast milk
            index: 17
            elements:
              linkId:
                pattern: {type: String, value: firstMilkFeed}
                index: 18
              definition: {index: 19}
              text:
                pattern: {type: String, value: First Milk Feed}
                index: 20
              subject: {index: 21}
              answer:
                index: 22
                elements:
                  valueCoding:
                    type: Coding
                    index: 23
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            _required: true
                            index: 23
                            elements:
                              system: {index: 24}
                              version: {index: 25}
                              code: {index: 26}
                              display: {index: 27}
                              userSelected: {index: 28}
                            required: [display, system, code]
                  item: {index: 29}
                required: [valueCoding]
              item: {index: 30}
            required: [text, answer]
        firstMilkFeedDateTime:
          match: {linkId: firstMilkFeedDateTime}
          schema:
            index: 31
            elements:
              linkId:
                pattern: {type: String, value: firstMilkFeedDateTime}
                index: 32
              definition: {index: 33}
              text:
                pattern: {type: String, value: Date and Time of First Milk Feed}
                index: 34
              subject: {index: 35}
              answer:
                index: 36
                elements:
                  valueDateTime:
                    type: dateTime
                    index: 37
                    slicing:
                      slices:
                        valueDateTime:
                          match: {}
                          schema: {type: dateTime, _required: true, index: 37}
                          min: 1
                  item: {index: 38}
                required: [valueDateTime]
              item: {index: 39}
            required: [text, answer]
        feedingStatus:
          match: {linkId: feedingStatus}
          schema:
            short: The milk feeding status of a baby
            index: 40
            elements:
              linkId:
                pattern: {type: String, value: feedingStatus}
                index: 41
              definition: {index: 42}
              text:
                pattern: {type: String, value: Feeding Status of the baby}
                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
                            elements:
                              system: {index: 47}
                              version: {index: 48}
                              code: {index: 49}
                              display: {index: 50}
                              userSelected: {index: 51}
                            required: [display, system, code]
                  item: {index: 52}
                required: [valueCoding]
              item: {index: 53}
            required: [text, answer]
        feedingMethod:
          match: {linkId: feedingMethod}
          schema:
            short: A record of the predominant feeding method for the baby
            index: 54
            elements:
              linkId:
                pattern: {type: String, value: feedingMethod}
                index: 55
              definition: {index: 56}
              text:
                pattern: {type: String, value: Feeding method}
                index: 57
              subject: {index: 58}
              answer:
                index: 59
                elements:
                  valueCoding:
                    type: Coding
                    index: 60
                    slicing:
                      slices:
                        valueCoding:
                          match: {}
                          schema:
                            type: Coding
                            _required: true
                            index: 60
                            extensions:
                              snomedCTDescriptionID: {url: h, min: 0, type: Extension, index: 62}
                            elements:
                              extension:
                                index: 61
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: url, type: value}
                                  min: null
                                  slices:
                                    snomedCTDescriptionID:
                                      match: {url: null}
                                      schema: {type: Extension, url: h, index: 62}
                                      min: 0
                              system:
                                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                                index: 63
                              version: {index: 64}
                              code: {index: 65}
                              display: {index: 66}
                              userSelected: {index: 67}
                            required: [display, system, code]
                  item: {index: 68}
                required: [valueCoding]
              item: {index: 69}
            required: [text, answer]
        introductionOfSolids:
          match: {linkId: introductionOfSolids}
          schema:
            short: The date the baby has been introduced to solid foods at the time seen
            index: 70
            elements:
              linkId:
                pattern: {type: String, value: introductionOfSolids}
                index: 71
              definition: {index: 72}
              text:
                pattern: {type: String, value: Introduction of Solids}
                index: 73
              subject: {index: 74}
              answer:
                index: 75
                elements:
                  valueDateTime:
                    type: dateTime
                    index: 76
                    slicing:
                      slices:
                        valueDateTime:
                          match: {}
                          schema: {type: dateTime, _required: true, index: 76}
                          min: 1
                  item: {index: 77}
                required: [valueDateTime]
              item: {index: 78}
            required: [text, answer]
        approximateDateBreastfeedingStopped:
          match: {linkId: approximateDateBreastfeedingStopped}
          schema:
            short: Date of last breast milk feed to the nearest month and year
            index: 79
            elements:
              linkId:
                pattern: {type: String, value: approximateDateBreastfeedingStopped}
                index: 80
              definition: {index: 81}
              text:
                pattern: {type: String, value: Date of last breast milk feed to the nearest month and year}
                index: 82
              subject: {index: 83}
              answer:
                index: 84
                elements:
                  valueDateTime:
                    type: dateTime
                    index: 85
                    slicing:
                      slices:
                        valueDateTime:
                          match: {}
                          schema: {type: dateTime, _required: true, index: 85}
                          min: 1
                  item: {index: 86}
                required: [valueDateTime]
              item: {index: 87}
            required: [text, answer]
        feedingConcerns:
          match: {linkId: feedingConcerns}
          schema:
            index: 88
            elements:
              linkId:
                pattern: {type: String, value: feedingConcerns}
                index: 89
              definition: {index: 90}
              text:
                pattern: {type: String, value: Feeding Concerns}
                index: 91
              subject: {index: 92}
              answer:
                index: 93
                elements:
                  valueString:
                    type: string
                    index: 94
                    slicing:
                      slices:
                        valueString:
                          match: {}
                          schema: {type: string, _required: true, index: 94}
                          min: 1
                  item: {index: 95}
                required: [valueString]
              item: {index: 96}
            required: [answer]
  source: {index: 15}
  author:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Practitioner-1']
    index: 13
    elements:
      reference: {index: 14}
    required: [reference]
  status:
    pattern: {type: Code, value: completed}
    index: 8
  identifier:
    elements:
      use: {index: 0}
      type: {index: 1}
      value: {index: 2}
      period: {index: 3}
      assigner: {index: 4}
    required: [value]
  context:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Encounter-1']
    index: 11
    elements:
      reference: {index: 12}
    required: [reference]
  basedOn: {index: 5}
  subject:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Patient-1']
    index: 9
    elements:
      reference: {index: 10}
    required: [reference]
package_version: 1.0.0
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/DCH-FeedingStatus-QuestionnaireResponse-1
base: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
version: 1.3.0
required: [author, context, subject]