PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.ccda@1.2.0
    http://hl7.org/fhir/us/ccda/StructureDefinition/Referral-Note
description: 'A Referral Note communicates pertinent information from a provider who is requesting services of another provider of clinical or non-clinical services. The information in this document includes the reason for the referral and additional information that would augment decision making and care delivery.\n \nExamples of referral situations are: \n* When a patient is referred from a family physician to a cardiologist for cardiac evaluation.\n* When patient is sent by a cardiologist to an emergency department for angina.\n* When a patient is referred by a nurse practitioner to an audiologist for hearing screening.\n* When a patient is referred by a hospitalist to social services.'
package_name: hl7.fhir.us.ccda
derivation: constraint
name: ReferralNote
type: Composition
elements:
  type:
    short: type
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/ccda/ValueSet/2.16.840.1.113883.1.11.20.2.3'}
    mustSupport: true
    index: 0
  section:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        functional_status_section:
          match:
            code:
              coding:
              - {code: 47420-5, system: 'http://loinc.org'}
          schema:
            label: Functional Status Section
            short: Functional Status Section
            mustSupport: true
            index: 26
            elements:
              title: {short: title, mustSupport: true, index: 27}
              code:
                short: code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47420-5, system: 'http://loinc.org'}
                index: 28
              text: {short: text, mustSupport: true, index: 29}
              entry:
                short: entry
                index: 30
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    functional_status_entry:
                      match: {}
                      schema:
                        type: Reference
                        short: This section contains unprofiled resources not covered by US Core. Please refer to C-CDA R2.1 for guidance on terminology, etc.
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
                        index: 31
            required: [text, title, code]
        allergies_and_intolerances_section:
          match:
            code:
              coding:
              - {code: 48765-2, system: 'http://loinc.org'}
          schema:
            label: Allergies and Intolerances Section
            short: Allergies and Intolerances Section
            mustSupport: true
            _required: true
            index: 2
            elements:
              title: {short: title, mustSupport: true, index: 3}
              code:
                short: code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48765-2, system: 'http://loinc.org'}
                index: 4
              text: {short: text, mustSupport: true, index: 5}
              entry:
                short: entry
                index: 6
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    allergies_and_intolerances_entry:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance']
                        index: 7
            required: [text, title, code]
        mental_status_section:
          match:
            code:
              coding:
              - {code: 10190-7, system: 'http://loinc.org'}
          schema:
            label: Mental Status Section
            short: Mental Status Section
            mustSupport: true
            index: 32
            elements:
              title: {short: title, mustSupport: true, index: 33}
              code:
                short: code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10190-7, system: 'http://loinc.org'}
                index: 34
              text: {short: text, mustSupport: true, index: 35}
              entry:
                short: entry
                index: 36
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    mental_status_entry:
                      match: {}
                      schema:
                        type: Reference
                        short: This section contains unprofiled resources not covered by US Core. Please refer to C-CDA R2.1 for guidance on terminology, etc.
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
                        index: 37
            required: [text, title, code]
        general_status_section:
          match:
            code:
              coding:
              - {code: 10210-3, system: 'http://loinc.org'}
          schema:
            label: General Status Section
            short: General Status Section
            mustSupport: true
            index: 78
            elements:
              title: {short: title, mustSupport: true, index: 79}
              code:
                short: code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10210-3, system: 'http://loinc.org'}
                index: 80
              text: {short: This section contains only human readable content, mustSupport: true, index: 81}
            required: [text, title, code]
        assessment_and_plan_section:
          match:
            code:
              coding:
              - {code: 51847-2, system: 'http://loinc.org'}
          schema:
            label: Assessment and Plan Section
            short: !!binary |-
              QXNzZXNzbWVudCBhbmQgUGxhbiBTZWN0aW9uLiBUaGlzIHNlY3Rpb24gcmVwcmVzZW50cyB0aGUgY2xpbmljaWFuw6LCgMKZcyBjb25jbHVzaW9ucyBhbmQgd29ya2luZyBhc3N1bXB0aW9ucyB0aGF0IHdpbGwgZ3VpZGUgdHJlYXRtZW50IG9mIHRoZSBwYXRpZW50LiBUaGUgQXNzZXNzbWVudCBhbmQgUGxhbiBTZWN0aW9uIG1heSBiZSBjb21iaW5lZCBvciBzZXBhcmF0ZWQgdG8gbWVldCBsb2NhbCBwb2xpY3kgcmVxdWlyZW1lbnRzLg==
            mustSupport: true
            index: 56
            elements:
              title: {short: title, mustSupport: true, index: 57}
              code:
                label: Assessment and plan
                short: Assessment and plan
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 51847-2, system: 'http://loinc.org'}
                index: 58
              text: {short: text, index: 59}
              entry:
                index: 60
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    assessment_and_plan_entry:
                      match: {}
                      schema:
                        type: Reference
                        short: This section contains unprofiled resources not covered by US Core. Please refer to C-CDA R2.1 for guidance on terminology, etc.
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/Communication', 'http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition']
                        index: 61
            required: [text, title, code]
        nutrition_section:
          match:
            code:
              coding:
              - {code: 61144-2, system: 'http://loinc.org'}
          schema:
            label: Nutrition Section
            short: Nutrition Section
            mustSupport: true
            index: 38
            elements:
              title: {short: title, mustSupport: true, index: 39}
              code:
                label: Diet and nutrition
                short: Diet and nutrition
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 61144-2, system: 'http://loinc.org'}
                index: 40
              text: {short: text, mustSupport: true, index: 41}
              entry:
                short: entry
                index: 42
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    nutrition_entry:
                      match: {}
                      schema:
                        type: Reference
                        short: This section contains unprofiled resources not covered by US Core. Please refer to C-CDA R2.1 for guidance on terminology, etc.
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
                        index: 43
            required: [text, title, code]
        immunizations_section:
          match:
            code:
              coding:
              - {code: 11369-6, system: 'http://loinc.org'}
          schema:
            label: Immunizations Section
            short: Immunizations Section
            mustSupport: true
            index: 92
            elements:
              title: {short: title, mustSupport: true, index: 93}
              code:
                label: History of immunization
                short: History of immunization
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11369-6, system: 'http://loinc.org'}
                index: 94
              text: {short: text, mustSupport: true, index: 95}
              entry:
                short: entry
                index: 96
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    immunizations_entry:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization']
                        index: 97
            required: [text, title, code]
        past_medical_history_section:
          match:
            code:
              coding:
              - {code: 11348-0, system: 'http://loinc.org'}
          schema:
            label: Past Medical History Section
            short: Past Medical History Section
            mustSupport: true
            index: 82
            elements:
              title: {short: title, index: 83}
              code:
                short: code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11348-0, system: 'http://loinc.org'}
                index: 84
              text: {short: text, mustSupport: true, index: 85}
              entry:
                short: entry
                index: 86
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    past_medical_history_entry:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition']
                        index: 87
            required: [text, title, code]
        health_concerns_section:
          match:
            code:
              coding:
              - {code: 75310-3, system: 'http://loinc.org'}
          schema:
            short: Health Concerns Section
            mustSupport: true
            index: 138
            elements:
              title: {short: title, mustSupport: true, index: 139}
              code:
                short: Health concerns section code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 75310-3, system: 'http://loinc.org'}
                index: 140
              text: {short: text, mustSupport: true, index: 141}
              entry:
                short: entry
                index: 142
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    health_concerns_entry:
                      match: {}
                      schema:
                        type: Reference
                        short: This section contains unprofiled resources not covered by US Core. Please refer to C-CDA R2.1 for guidance on terminology, etc.
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/List', 'http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/StructureDefinition/RiskAssessment', 'http://hl7.org/fhir/StructureDefinition/vitalsigns', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus']
                        index: 143
            required: [text, title, code]
        results_section:
          match:
            code:
              coding:
              - {code: 30954-2, system: 'http://loinc.org'}
          schema:
            short: Results Section
            mustSupport: true
            label: Results Section
            index: 50
            elements:
              title: {short: title, mustSupport: true, index: 51}
              code:
                label: Relevant diagnostic tests and laboratory data
                short: Relevant diagnostic tests and laboratory data
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 30954-2, system: 'http://loinc.org'}
                index: 52
              text: {short: text, mustSupport: true, index: 53}
              entry:
                short: entry
                index: 54
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    results_entry:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab']
                        index: 55
            required: [text, title, code]
        history_of_present_illness_section:
          match:
            code:
              coding:
              - {code: 10164-2, system: 'http://loinc.org'}
          schema:
            label: History of Present Illness Section
            short: History of Present Illness Section
            mustSupport: true
            index: 88
            elements:
              title: {short: title, mustSupport: true, index: 89}
              code:
                short: code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10164-2, system: 'http://loinc.org'}
                index: 90
              text: {short: This section contains only human readable content, mustSupport: true, index: 91}
            required: [text, title, code]
        medications_section:
          match:
            code:
              coding:
              - {code: 10160-0, system: 'http://loinc.org'}
          schema:
            label: Medications Section
            short: Medications Section
            mustSupport: true
            _required: true
            index: 8
            elements:
              title: {short: title, mustSupport: true, index: 9}
              code:
                short: code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10160-0, system: 'http://loinc.org'}
                index: 10
              text: {short: text, mustSupport: true, index: 11}
              entry:
                short: entry
                index: 12
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    medications_entry:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/MedicationStatement', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest']
                        index: 13
            required: [text, title, code]
        social_history_section:
          match:
            code:
              coding:
              - {code: 29762-2, system: 'http://loinc.org'}
          schema:
            short: Social History Section
            mustSupport: true
            label: Social History Section
            index: 120
            elements:
              title: {short: title, mustSupport: true, index: 121}
              code:
                label: Social history
                short: Social history
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29762-2, system: 'http://loinc.org'}
                index: 122
              text: {short: text, mustSupport: true, index: 123}
              entry:
                short: entry
                index: 124
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    social_history_entry:
                      match: {}
                      schema:
                        type: Reference
                        short: Smoking status
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus']
                        index: 125
            required: [text, title, code]
        procedures_section:
          match:
            code:
              coding:
              - {code: 47519-4, system: 'http://loinc.org'}
          schema:
            label: Procedures Section
            short: Procedures Section
            mustSupport: true
            index: 110
            elements:
              title: {short: title, mustSupport: true, index: 111}
              code:
                label: History of procedures
                short: History of procedures
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47519-4, system: 'http://loinc.org'}
                index: 112
              text: {short: text, mustSupport: true, index: 113}
              entry:
                short: entry
                index: 114
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    procedures_entry:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure']
                        index: 115
            required: [text, title, code]
        reason_for_referral_section:
          match:
            code:
              coding:
              - {code: 42349-1, system: 'http://loinc.org'}
          schema:
            label: Reason for Referral Section
            short: Reason for Referral Section
            mustSupport: true
            _required: true
            index: 20
            elements:
              title: {short: title, mustSupport: true, index: 21}
              code:
                short: code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 42349-1, system: 'http://loinc.org'}
                index: 22
              text: {short: This section contains only human readable content, mustSupport: true, index: 23}
              entry:
                short: entry
                index: 24
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    reason_for_referral_entry:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/ServiceRequest']
                        index: 25
            required: [text, title, code]
        plan_of_treatment_section:
          match:
            code:
              coding:
              - {code: 18776-5, system: 'http://loinc.org'}
          schema:
            label: Plan of Treatment Section
            short: Plan of Treatment Section
            mustSupport: true
            index: 44
            elements:
              title: {short: title, mustSupport: true, index: 45}
              code:
                label: Plan of treatment
                short: Plan of treatment
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 18776-5, system: 'http://loinc.org'}
                index: 46
              text: {short: text, mustSupport: true, index: 47}
              entry:
                short: entry
                index: 48
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    sliceEntry:
                      match: {}
                      schema:
                        type: Reference
                        short: This section contains unprofiled resources not covered by US Core. Please refer to C-CDA R2.1 for guidance on terminology, etc.
                        refers: ['http://hl7.org/fhir/StructureDefinition/Appointment', 'http://hl7.org/fhir/StructureDefinition/Communication', 'http://hl7.org/fhir/StructureDefinition/CommunicationRequest', 'http://hl7.org/fhir/StructureDefinition/DeviceRequest', 'http://hl7.org/fhir/StructureDefinition/NutritionOrder', 'http://hl7.org/fhir/StructureDefinition/RequestGroup', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest', 'http://hl7.org/fhir/StructureDefinition/Task', 'http://hl7.org/fhir/StructureDefinition/VisionPrescription', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest']
                        index: 49
            required: [text, title, code]
        problem_section:
          match:
            code:
              coding:
              - {code: 11450-4, system: 'http://loinc.org'}
          schema:
            short: Problem Section
            mustSupport: true
            _required: true
            label: Problem Section
            index: 14
            elements:
              title: {short: title, mustSupport: true, index: 15}
              code:
                label: Problem list
                short: Problem list
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11450-4, system: 'http://loinc.org'}
                index: 16
              text: {short: text, mustSupport: true, index: 17}
              entry:
                short: entry
                index: 18
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    problem_entry:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition']
                        index: 19
            required: [text, title, code]
        review_of_systems_section:
          match:
            code:
              coding:
              - {code: 10187-3, system: 'http://loinc.org'}
          schema:
            label: Review of Systems Section
            short: Review of Systems Section
            mustSupport: true
            index: 116
            elements:
              title: {short: title, mustSupport: true, index: 117}
              code:
                short: code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10187-3, system: 'http://loinc.org'}
                index: 118
              text: {short: This section contains only human readable content, mustSupport: true, index: 119}
            required: [text, title, code]
        vital_signs_section:
          match:
            code:
              coding:
              - {code: 8716-3, system: 'http://loinc.org'}
          schema:
            short: Vital Signs Section
            mustSupport: true
            label: Vital Signs Section
            index: 126
            elements:
              title: {short: title, mustSupport: true, index: 127}
              code:
                label: Vital signs
                short: Vital signs
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8716-3, system: 'http://loinc.org'}
                index: 128
              text: {short: text, mustSupport: true, index: 129}
              entry:
                short: entry
                index: 130
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    vital_signs_entry:
                      match: {}
                      schema:
                        type: Reference
                        short: This section contains unprofiled resources not covered by US Core. Please refer to C-CDA R2.1 for guidance on terminology, etc.
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/vitalsigns']
                        index: 131
            required: [text, title, code]
        physical_exam_section:
          match:
            code:
              coding:
              - {code: 29545-1, system: 'http://loinc.org'}
          schema:
            label: Physical Exam Section
            short: Physical Exam Section
            mustSupport: true
            index: 104
            elements:
              title: {short: title, mustSupport: true, index: 105}
              code:
                short: code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29545-1, system: 'http://loinc.org'}
                index: 106
              text: {short: text, mustSupport: true, index: 107}
              entry:
                short: entry
                index: 108
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    physical_exam_entry:
                      match: {}
                      schema:
                        type: Reference
                        short: This section contains unprofiled resources not covered by US Core. Please refer to C-CDA R2.1 for guidance on terminology, etc.
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
                        index: 109
            required: [text, title, code]
        medical_equipment_section:
          match:
            code:
              coding:
              - {code: 46264-8, system: 'http://loinc.org'}
          schema:
            label: Medical Equipment Section
            short: Medical Equipment Section
            mustSupport: true
            index: 98
            elements:
              title: {short: title, mustSupport: true, index: 99}
              code:
                label: Medical equipment
                short: Medical equipment
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 46264-8, system: 'http://loinc.org'}
                index: 100
              text: {short: text, mustSupport: true, index: 101}
              entry:
                short: entry
                index: 102
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    medical_equipment_entry:
                      match: {}
                      schema:
                        type: Reference
                        short: This section contains unprofiled resources not covered by US Core. Please refer to C-CDA R2.1 for guidance on terminology, etc.
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure']
                        index: 103
            required: [text, title, code]
        goals_section:
          match:
            code:
              coding:
              - {code: 61146-7, system: 'http://loinc.org'}
          schema:
            short: Goals Section
            mustSupport: true
            index: 132
            elements:
              title: {short: title, mustSupport: true, index: 133}
              code:
                short: Goals
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 61146-7, system: 'http://loinc.org'}
                index: 134
              text: {short: text, mustSupport: true, index: 135}
              entry:
                short: entry
                index: 136
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    goals_entry:
                      match: {}
                      schema:
                        type: Reference
                        short: entry
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal']
                        index: 137
            required: [text, title, code]
        family_history_section:
          match:
            code:
              coding:
              - {code: 10157-6, system: 'http://loinc.org'}
          schema:
            label: Family History Section
            short: Family History Section
            mustSupport: true
            index: 72
            elements:
              title: {short: title, mustSupport: true, index: 73}
              code:
                label: History of family member diseases
                short: History of family member diseases
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10157-6, system: 'http://loinc.org'}
                index: 74
              text: {short: text, mustSupport: true, index: 75}
              entry:
                short: entry
                index: 76
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    family_history_entry:
                      match: {}
                      schema:
                        type: Reference
                        short: This section contains unprofiled resources not covered by US Core. Please refer to C-CDA R2.1 for guidance on terminology, etc.
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory']
                        index: 77
            required: [text, title, code]
        advance_directives_section:
          match:
            code:
              coding:
              - {code: 42348-3, system: 'http://loinc.org'}
          schema:
            label: Advance Directives Section
            short: Advance Directives Section
            mustSupport: true
            index: 62
            elements:
              title: {short: title, mustSupport: true, index: 63}
              code:
                label: Advance directives
                short: Advance directives
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 42348-3, system: 'http://loinc.org'}
                index: 64
              text: {short: text, mustSupport: true, index: 65}
              entry:
                index: 66
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    advance_directive_entry:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/StructureDefinition/Consent']
                        index: 67
            required: [text, title, code]
        assessment_section:
          match:
            code:
              coding:
              - {code: 51848-0, system: 'http://loinc.org'}
          schema:
            label: Assessment Section
            short: Assessment Section
            mustSupport: true
            index: 68
            elements:
              title: {short: title, mustSupport: true, index: 69}
              code:
                short: code
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 51848-0, system: 'http://loinc.org'}
                index: 70
              text: {short: This section contains only human readable content, mustSupport: true, index: 71}
            required: [text, title, code]
package_version: 1.2.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/ccda/StructureDefinition/Referral-Note
base: http://hl7.org/fhir/us/ccda/StructureDefinition/US-Realm-Header
version: 1.2.0