PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.bser@0.2.0
    http://hl7.org/fhir/us/bser/StructureDefinition/ReferralFeedback
description: null
package_name: hl7.fhir.us.bser
derivation: constraint
name: BSeR Referral Feedback
type: Composition
elements:
  identifier: {short: identifier, index: 0}
  status: {short: status, index: 1}
  type: {short: type, index: 2}
  subject:
    short: Patient
    refers: ['http://hl7.org/fhir/us/bser/StructureDefinition/PatientRole']
    type: Reference
    label: Patient
    index: 3
  date: {label: Feedback Report Date, short: Feedback Report Date, index: 4}
  author: {label: Referral Request Recipient, short: Referral Request Recipient, index: 5}
  title: {short: title, index: 6}
  section:
    index: 7
    slicing:
      rules: open
      discriminator:
      - {path: entry, type: value}
      min: null
      slices:
        section1:
          match: {entry: null}
          schema:
            short: Common Feedback Supporting Information
            _required: true
            label: Common Feedback Supporting Information
            index: 8
            elements:
              code:
                short: code
                index: 9
                slicing:
                  slices:
                    section1:
                      match: {}
                      schema: {short: code, _required: true, index: 9}
                      min: 1
                      max: 1
              text:
                label: Feedback Report Note
                short: Feedback Report Note
                index: 10
                slicing:
                  slices:
                    section1:
                      match: {}
                      schema: {label: Feedback Report Note, short: Feedback Report Note, _required: true, index: 10}
                      min: 1
                      max: 1
              entry:
                short: entry
                index: 11
                slicing:
                  slices:
                    section1:
                      match: {}
                      schema:
                        short: entry
                        _required: true
                        index: 11
                        elements:
                          reference:
                            short: reference
                            index: 12
                            slicing:
                              slices:
                                section1:
                                  match: {}
                                  schema: {short: reference, _required: true, index: 12}
                                  min: 1
                                  max: 1
                        required: [reference]
            required: [entry, text, code]
        section2:
          match: {entry: null}
          schema:
            short: Single-program specific feedback
            _required: true
            label: Single-program specific feedback
            index: 13
            elements:
              code:
                short: code
                index: 14
                slicing:
                  slices:
                    section2:
                      match: {}
                      schema: {short: code, _required: true, index: 14}
                      min: 1
                      max: 1
              entry:
                short: entry
                index: 15
                slicing:
                  slices:
                    section2:
                      match: {}
                      schema:
                        short: entry
                        index: 15
                        elements:
                          reference:
                            short: reference
                            index: 16
                            slicing:
                              slices:
                                section2:
                                  match: {}
                                  schema: {short: reference, _required: true, index: 16}
                                  min: 1
                                  max: 1
                        required: [reference]
            required: [code]
package_version: 0.2.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/bser/StructureDefinition/ReferralFeedback
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 0.2.0
required: [author, status, identifier, subject, title, type, date]