PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4.test@2.8.6-prerelease
    https://fhir.nhs.uk/StructureDefinition/Composition-CareConnect-OPL
description: This constrained Composition resource represents an Outpatient Letter Document Header Composition
package_name: uk.nhsdigital.r4.test
derivation: constraint
name: CompositionCareConnectOPL
type: Composition
elements:
  section:
    mustSupport: true
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: code.coding.code, type: value}
      min: 1
      slices:
        attendanceDetailsSection:
          match:
            code:
              coding: {code: '1077881000000105'}
          schema:
            mustSupport: true
            index: 52
            elements:
              title:
                pattern: {type: String, value: Attendance details}
                mustSupport: false
                index: 53
              code:
                index: 54
                elements:
                  coding:
                    index: 55
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 56
                      version: {index: 57}
                      code:
                        pattern: {type: Code, value: '1077881000000105'}
                        mustSupport: false
                        index: 58
                      display:
                        pattern: {type: String, value: Attendance details}
                        mustSupport: false
                        index: 59
                      userSelected: {index: 60}
                    required: [display, system, code]
                  text: {index: 61}
                required: [coding]
              text: {index: 62}
              mode: {index: 63}
              orderedBy:
                mustSupport: false
                index: 64
                elements:
                  coding:
                    mustSupport: false
                    index: 65
                    elements:
                      system: {mustSupport: false, index: 66}
                      version: {index: 67}
                      code: {mustSupport: false, index: 68}
                      display: {mustSupport: false, index: 69}
                      userSelected: {index: 70}
                    required: [display, system, code]
                  text: {index: 71}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter']
                index: 72
                elements:
                  reference: {mustSupport: false, index: 73}
                  display: {mustSupport: false, index: 74}
                required: [reference]
              emptyReason: {index: 75}
              section: {index: 76}
            required: [text, title, code]
        referrerDetailsSection:
          match:
            code:
              coding: {code: '1052891000000108'}
          schema:
            mustSupport: true
            index: 573
            elements:
              title:
                pattern: {type: String, value: Referrer details}
                mustSupport: false
                index: 574
              code:
                index: 575
                elements:
                  coding:
                    index: 576
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 577
                      version: {index: 578}
                      code:
                        pattern: {type: Code, value: '1052891000000108'}
                        mustSupport: false
                        index: 579
                      display:
                        pattern: {type: String, value: Referrer details}
                        mustSupport: false
                        index: 580
                      userSelected: {index: 581}
                    required: [display, system, code]
                  text: {index: 582}
                required: [coding]
              text:
                mustSupport: false
                index: 583
                elements:
                  status: {mustSupport: false, index: 584}
                  div: {mustSupport: false, index: 585}
              mode: {index: 586}
              orderedBy:
                index: 587
                elements:
                  coding:
                    elements:
                      system: {index: 588}
                      version: {index: 589}
                      code: {index: 590}
                      display: {index: 591}
                      userSelected: {index: 592}
                    required: [display, system, code]
                  text: {index: 593}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole']
                index: 594
                elements:
                  reference: {index: 595}
                required: [reference]
              emptyReason: {index: 596}
              section: {index: 597}
            required: [text, title, code]
        clinicalSummarySection:
          match:
            code:
              coding: {code: '887181000000106'}
          schema:
            mustSupport: true
            index: 103
            elements:
              title:
                pattern: {type: String, value: Clinical summary}
                mustSupport: false
                index: 104
              code:
                index: 105
                elements:
                  coding:
                    index: 106
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 107
                      version: {index: 108}
                      code:
                        pattern: {type: Code, value: '887181000000106'}
                        mustSupport: false
                        index: 109
                      display:
                        pattern: {type: String, value: Clinical summary}
                        mustSupport: false
                        index: 110
                      userSelected: {index: 111}
                    required: [display, system, code]
                  text: {index: 112}
                required: [coding]
              text: {index: 113}
              mode: {index: 114}
              orderedBy:
                index: 115
                elements:
                  coding:
                    elements:
                      system: {index: 116}
                      version: {index: 117}
                      code: {index: 118}
                      display: {index: 119}
                      userSelected: {index: 120}
                    required: [display, system, code]
                  text: {index: 121}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 122
                elements:
                  reference: {index: 123}
                required: [reference]
              emptyReason: {index: 124}
              section: {index: 125}
            required: [text, title, code]
        distributionListSection:
          match:
            code:
              coding: {code: '887261000000109'}
          schema:
            mustSupport: true
            index: 152
            elements:
              title:
                pattern: {type: String, value: Distribution list}
                index: 153
              code:
                index: 154
                elements:
                  coding:
                    index: 155
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 156
                      version: {index: 157}
                      code:
                        pattern: {type: Code, value: '887261000000109'}
                        index: 158
                      display:
                        pattern: {type: String, value: Distribution list}
                        index: 159
                      userSelected: {index: 160}
                    required: [display, system, code]
                  text: {index: 161}
                required: [coding]
              text: {index: 162}
              mode: {index: 163}
              orderedBy:
                index: 164
                elements:
                  coding:
                    elements:
                      system: {index: 165}
                      version: {index: 166}
                      code: {index: 167}
                      display: {index: 168}
                      userSelected: {index: 169}
                    required: [display, system, code]
                  text: {index: 170}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson']
                index: 171
                elements:
                  reference: {index: 172}
                required: [reference]
              emptyReason: {index: 173}
              section: {index: 174}
            required: [text, title, code]
        patientDemographicsSection:
          match:
            code:
              coding: {code: '886731000000109'}
          schema:
            mustSupport: true
            _required: true
            index: 448
            elements:
              title:
                pattern: {type: String, value: Patient demographics}
                index: 449
              code:
                index: 450
                elements:
                  coding:
                    index: 451
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 452
                      version: {index: 453}
                      code:
                        pattern: {type: Code, value: '886731000000109'}
                        index: 454
                      display:
                        pattern: {type: String, value: Patient demographics}
                        index: 455
                      userSelected: {index: 456}
                    required: [display, system, code]
                  text: {index: 457}
                required: [coding]
              text: {index: 458}
              mode: {index: 459}
              orderedBy:
                index: 460
                elements:
                  coding:
                    elements:
                      system: {index: 461}
                      version: {index: 462}
                      code: {index: 463}
                      display: {index: 464}
                      userSelected: {index: 465}
                    required: [display, system, code]
                  text: {index: 466}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient']
                index: 467
                elements:
                  reference: {index: 468}
                required: [reference]
              emptyReason: {index: 469}
              section: {index: 470}
            required: [entry, text, title, code]
        relevantClinicalRiskFactorsSection:
          match:
            code:
              coding: {code: '886821000000100'}
          schema:
            mustSupport: true
            index: 598
            elements:
              title:
                pattern: {type: String, value: Relevant clinical risk factors}
                mustSupport: false
                index: 599
              code:
                index: 600
                elements:
                  coding:
                    index: 601
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 602
                      version: {index: 603}
                      code:
                        pattern: {type: Code, value: '886821000000100'}
                        mustSupport: false
                        index: 604
                      display:
                        pattern: {type: String, value: Relevant clinical risk factors}
                        mustSupport: false
                        index: 605
                      userSelected: {index: 606}
                    required: [display, system, code]
                  text: {index: 607}
                required: [coding]
              text: {index: 608}
              mode: {index: 609}
              orderedBy:
                index: 610
                elements:
                  coding:
                    elements:
                      system: {index: 611}
                      version: {index: 612}
                      code: {index: 613}
                      display: {index: 614}
                      userSelected: {index: 615}
                    required: [display, system, code]
                  text: {index: 616}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 617
                elements:
                  reference: {mustSupport: false, index: 618}
                  display: {mustSupport: false, index: 619}
                required: [reference]
              emptyReason: {index: 620}
              section: {index: 621}
            required: [text, title, code]
        examinationFindingSection:
          match:
            code:
              coding: {code: '715851000000102'}
          schema:
            mustSupport: true
            index: 175
            elements:
              title:
                pattern: {type: String, value: Examination finding}
                mustSupport: false
                index: 176
              code:
                index: 177
                elements:
                  coding:
                    index: 178
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 179
                      version: {index: 180}
                      code:
                        pattern: {type: Code, value: '715851000000102'}
                        mustSupport: false
                        index: 181
                      display:
                        pattern: {type: String, value: Examination findings}
                        mustSupport: false
                        index: 182
                      userSelected: {index: 183}
                    required: [display, system, code]
                  text: {index: 184}
                required: [coding]
              text:
                index: 185
                elements:
                  status: {mustSupport: false, index: 186}
                  div: {mustSupport: false, index: 187}
              mode: {index: 188}
              orderedBy:
                index: 189
                elements:
                  coding:
                    elements:
                      system: {mustSupport: false, index: 190}
                      version: {index: 191}
                      code: {index: 192}
                      display: {index: 193}
                      userSelected: {index: 194}
                    required: [display, system, code]
                  text: {index: 195}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 196
                elements:
                  reference: {mustSupport: false, index: 197}
                  display: {mustSupport: false, index: 198}
                required: [reference]
              emptyReason: {index: 199}
              section: {index: 200}
            required: [text, title, code]
        clinicalReviewOfSystemsSection:
          match:
            code:
              coding: {code: '887121000000105'}
          schema:
            mustSupport: true
            index: 77
            elements:
              title:
                pattern: {type: String, value: Clinical review of systems}
                mustSupport: false
                index: 78
              code:
                index: 79
                elements:
                  coding:
                    index: 80
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 81
                      version: {index: 82}
                      code:
                        pattern: {type: Code, value: '887121000000105'}
                        mustSupport: false
                        index: 83
                      display:
                        pattern: {type: String, value: Review of systems}
                        mustSupport: false
                        index: 84
                      userSelected: {index: 85}
                    required: [display, system, code]
                  text: {index: 86}
                required: [coding]
              text:
                mustSupport: false
                index: 87
                elements:
                  status: {mustSupport: false, index: 88}
                  div: {mustSupport: false, index: 89}
              mode: {index: 90}
              orderedBy:
                mustSupport: false
                index: 91
                elements:
                  coding:
                    elements:
                      system: {mustSupport: false, index: 92}
                      version: {index: 93}
                      code: {mustSupport: false, index: 94}
                      display: {mustSupport: false, index: 95}
                      userSelected: {index: 96}
                    required: [display, system, code]
                  text: {index: 97}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 98
                elements:
                  reference: {mustSupport: true, index: 99}
                  display: {mustSupport: true, index: 100}
                required: [reference]
              emptyReason: {index: 101}
              section: {index: 102}
            required: [text, title, code]
        allergiesAndAdverseReactionsSection:
          match:
            code:
              coding: {code: '886921000000105'}
          schema:
            mustSupport: true
            _required: true
            index: 1
            elements:
              title:
                pattern: {type: String, value: Allergies and adverse reactions}
                mustSupport: false
                index: 2
              code:
                index: 3
                elements:
                  coding:
                    index: 4
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 5
                      version: {index: 6}
                      code:
                        pattern: {type: Code, value: '886921000000105'}
                        mustSupport: false
                        index: 7
                      display:
                        pattern: {type: String, value: Allergies and adverse reactions}
                        mustSupport: false
                        index: 8
                      userSelected: {index: 9}
                    required: [display, system, code]
                  text: {index: 10}
                required: [coding]
              text:
                index: 11
                elements:
                  status: {mustSupport: false, index: 12}
                  div: {mustSupport: false, index: 13}
              mode: {index: 14}
              orderedBy:
                index: 15
                elements:
                  coding:
                    elements:
                      system: {mustSupport: false, index: 16}
                      version: {index: 17}
                      code: {mustSupport: false, index: 18}
                      display: {mustSupport: false, index: 19}
                      userSelected: {index: 20}
                    required: [display, system, code]
                  text: {index: 21}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-AllergyIntolerance']
                index: 22
                elements:
                  reference: {index: 23}
                  display: {mustSupport: false, index: 24}
                required: [reference]
              emptyReason: {index: 25}
              section: {index: 26}
            required: [text, title, code]
        participationInResearchSection:
          match:
            code:
              coding: {code: '886751000000102'}
          schema:
            mustSupport: true
            index: 400
            elements:
              title:
                pattern: {type: String, value: Participation in research}
                mustSupport: false
                index: 401
              code:
                mustSupport: false
                index: 402
                elements:
                  coding:
                    mustSupport: false
                    index: 403
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 404
                      version: {index: 405}
                      code:
                        pattern: {type: Code, value: '886751000000102'}
                        mustSupport: false
                        index: 406
                      display:
                        pattern: {type: String, value: Participation in research}
                        mustSupport: false
                        index: 407
                      userSelected: {index: 408}
                    required: [display, system, code]
                  text: {index: 409}
                required: [coding]
              text:
                index: 410
                elements:
                  status: {mustSupport: false, index: 411}
                  div: {mustSupport: false, index: 412}
              mode: {index: 413}
              orderedBy:
                index: 414
                elements:
                  coding:
                    elements:
                      system: {index: 415}
                      version: {index: 416}
                      code: {index: 417}
                      display: {index: 418}
                      userSelected: {index: 419}
                    required: [display, system, code]
                  text: {index: 420}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 421
                elements:
                  reference: {index: 422}
                required: [reference]
              emptyReason: {index: 423}
              section: {index: 424}
            required: [text, title, code]
        individualRequirementsSection:
          match:
            code:
              coding: {code: '1078911000000106'}
          schema:
            mustSupport: true
            index: 273
            elements:
              title:
                pattern: {type: String, value: Individual requirements}
                mustSupport: false
                index: 274
              code:
                index: 275
                elements:
                  coding:
                    index: 276
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 277
                      version: {index: 278}
                      code:
                        pattern: {type: Code, value: '1078911000000106'}
                        mustSupport: false
                        index: 279
                      display:
                        pattern: {type: String, value: Individual requirements}
                        mustSupport: false
                        index: 280
                      userSelected: {index: 281}
                    required: [display, system, code]
                  text: {index: 282}
                required: [coding]
              text:
                mustSupport: false
                index: 283
                elements:
                  status: {mustSupport: false, index: 284}
              mode: {index: 285}
              orderedBy:
                mustSupport: false
                index: 286
                elements:
                  coding:
                    mustSupport: false
                    index: 287
                    elements:
                      system: {mustSupport: false, index: 288}
                      version: {index: 289}
                      code: {mustSupport: false, index: 290}
                      display: {mustSupport: false, index: 291}
                      userSelected: {index: 292}
                    required: [display, system, code]
                  text: {index: 293}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 294
                elements:
                  reference: {mustSupport: false, index: 295}
                  display: {mustSupport: false, index: 296}
                required: [reference]
              emptyReason: {index: 297}
              section: {index: 298}
            required: [text, title, code]
        planAndRequestedActionsSection:
          match:
            code:
              coding: {code: '887201000000105'}
          schema:
            mustSupport: true
            index: 496
            elements:
              title:
                pattern: {type: String, value: Plan and requested actions}
                mustSupport: false
                index: 497
              code:
                index: 498
                elements:
                  coding:
                    index: 499
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 500
                      version: {index: 501}
                      code:
                        pattern: {type: Code, value: '887201000000105'}
                        mustSupport: false
                        index: 502
                      display:
                        pattern: {type: String, value: Plan and requested actions}
                        mustSupport: false
                        index: 503
                      userSelected: {index: 504}
                    required: [display, system, code]
                  text: {index: 505}
                required: [coding]
              text:
                index: 506
                elements:
                  status: {mustSupport: false, index: 507}
                  div: {mustSupport: false, index: 508}
              mode: {index: 509}
              orderedBy:
                index: 510
                elements:
                  coding:
                    elements:
                      system: {index: 511}
                      version: {index: 512}
                      code: {index: 513}
                      display: {index: 514}
                      userSelected: {index: 515}
                    required: [display, system, code]
                  text: {index: 516}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 517
                elements:
                  reference: {index: 518}
                required: [reference]
              emptyReason: {index: 519}
              section: {index: 520}
            required: [text, title, code]
        proceduresSection:
          match:
            code:
              coding: {code: '887171000000109'}
          schema:
            mustSupport: true
            index: 546
            elements:
              title:
                pattern: {type: String, value: Procedures}
                mustSupport: false
                index: 547
              code:
                index: 548
                elements:
                  coding:
                    index: 549
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 550
                      version: {index: 551}
                      code:
                        pattern: {type: Code, value: '887171000000109'}
                        mustSupport: false
                        index: 552
                      display:
                        pattern: {type: String, value: Procedures}
                        mustSupport: false
                        index: 553
                      userSelected: {index: 554}
                    required: [display, system, code]
                  text: {index: 555}
                required: [coding]
              text:
                mustSupport: false
                index: 556
                elements:
                  status: {mustSupport: false, index: 557}
                  div: {mustSupport: false, index: 558}
              mode: {index: 559}
              orderedBy:
                mustSupport: false
                index: 560
                elements:
                  coding:
                    mustSupport: false
                    index: 561
                    elements:
                      system: {mustSupport: false, index: 562}
                      version: {index: 563}
                      code: {mustSupport: false, index: 564}
                      display: {mustSupport: false, index: 565}
                      userSelected: {index: 566}
                    required: [display, system, code]
                  text: {index: 567}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure']
                index: 568
                elements:
                  reference: {mustSupport: false, index: 569}
                  display: {mustSupport: false, index: 570}
                required: [reference]
              emptyReason: {index: 571}
              section: {index: 572}
            required: [text, title, code]
        problemsAndIssuesSection:
          match:
            code:
              coding: {code: '887151000000100'}
          schema:
            mustSupport: true
            index: 521
            elements:
              title:
                pattern: {type: String, value: Problems and issues}
                mustSupport: false
                index: 522
              code:
                mustSupport: false
                index: 523
                elements:
                  coding:
                    mustSupport: false
                    index: 524
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 525
                      version: {index: 526}
                      code:
                        pattern: {type: Code, value: '887151000000100'}
                        mustSupport: false
                        index: 527
                      display:
                        pattern: {type: String, value: Problems and issues}
                        mustSupport: false
                        index: 528
                      userSelected: {index: 529}
                    required: [display, system, code]
                  text: {index: 530}
                required: [coding]
              text:
                index: 531
                elements:
                  status: {mustSupport: false, index: 532}
                  div: {mustSupport: false, index: 533}
              mode: {index: 534}
              orderedBy:
                index: 535
                elements:
                  coding:
                    elements:
                      system: {index: 536}
                      version: {index: 537}
                      code: {index: 538}
                      display: {index: 539}
                      userSelected: {index: 540}
                    required: [display, system, code]
                  text: {index: 541}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 542
                elements:
                  reference: {index: 543}
                required: [reference]
              emptyReason: {index: 544}
              section: {index: 545}
            required: [text, title, code]
        diagnosesSection:
          match:
            code:
              coding: {code: '887161000000102'}
          schema:
            mustSupport: true
            index: 126
            elements:
              title:
                pattern: {type: String, value: Diagnoses}
                mustSupport: false
                index: 127
              code:
                index: 128
                elements:
                  coding:
                    index: 129
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 130
                      version: {index: 131}
                      code:
                        pattern: {type: Code, value: '887161000000102'}
                        mustSupport: false
                        index: 132
                      display:
                        pattern: {type: String, value: Diagnoses}
                        mustSupport: false
                        index: 133
                      userSelected: {index: 134}
                    required: [display, system, code]
                  text: {index: 135}
                required: [coding]
              text:
                index: 136
                elements:
                  status: {mustSupport: false, index: 137}
                  div: {mustSupport: false, index: 138}
              mode: {index: 139}
              orderedBy:
                index: 140
                elements:
                  coding:
                    elements:
                      system: {mustSupport: false, index: 141}
                      version: {index: 142}
                      code: {mustSupport: false, index: 143}
                      display: {mustSupport: false, index: 144}
                      userSelected: {index: 145}
                    required: [display, system, code]
                  text: {index: 146}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition']
                index: 147
                elements:
                  reference: {index: 148}
                  display: {mustSupport: false, index: 149}
                required: [reference]
              emptyReason: {index: 150}
              section: {index: 151}
            required: [text, title, code]
        familyHistorySection:
          match:
            code:
              coding: {code: '887111000000104'}
          schema:
            mustSupport: true
            index: 201
            elements:
              title:
                pattern: {type: String, value: Family history}
                mustSupport: false
                index: 202
              code:
                mustSupport: false
                index: 203
                elements:
                  coding:
                    mustSupport: false
                    index: 204
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 205
                      version: {index: 206}
                      code:
                        pattern: {type: Code, value: '887111000000104'}
                        mustSupport: false
                        index: 207
                      display:
                        pattern: {type: String, value: Family history}
                        mustSupport: false
                        index: 208
                      userSelected: {index: 209}
                    required: [display, system, code]
                  text: {index: 210}
                required: [coding]
              text: {index: 211}
              mode: {index: 212}
              orderedBy:
                index: 213
                elements:
                  coding:
                    elements:
                      system: {index: 214}
                      version: {index: 215}
                      code: {index: 216}
                      display: {index: 217}
                      userSelected: {index: 218}
                    required: [display, system, code]
                  text: {index: 219}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 220
                elements:
                  reference: {index: 221}
                required: [reference]
              emptyReason: {index: 222}
              section: {index: 223}
            required: [text, title, code]
        personCompletingRecordSection:
          match:
            code:
              coding: {code: '887231000000104'}
          schema:
            mustSupport: true
            index: 471
            elements:
              title:
                pattern: {type: String, value: Person completing record}
                mustSupport: false
                index: 472
              code:
                index: 473
                elements:
                  coding:
                    index: 474
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 475
                      version: {index: 476}
                      code:
                        pattern: {type: Code, value: '887231000000104'}
                        mustSupport: false
                        index: 477
                      display:
                        pattern: {type: String, value: Person completing record}
                        mustSupport: false
                        index: 478
                      userSelected: {index: 479}
                    required: [display, system, code]
                  text: {index: 480}
                required: [coding]
              text:
                index: 481
                elements:
                  status: {mustSupport: false, index: 482}
                  div: {mustSupport: false, index: 483}
              mode: {index: 484}
              orderedBy:
                index: 485
                elements:
                  coding:
                    elements:
                      system: {index: 486}
                      version: {index: 487}
                      code: {index: 488}
                      display: {index: 489}
                      userSelected: {index: 490}
                    required: [display, system, code]
                  text: {index: 491}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner']
                index: 492
                elements:
                  reference: {index: 493}
                required: [reference]
              emptyReason: {index: 494}
              section: {index: 495}
            required: [text, title, code]
        assessmentScalesSection:
          match:
            code:
              coding: {code: '887141000000103'}
          schema:
            mustSupport: true
            index: 27
            elements:
              title:
                pattern: {type: String, value: Assessment scales}
                mustSupport: false
                index: 28
              code:
                index: 29
                elements:
                  coding:
                    index: 30
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 31
                      version: {index: 32}
                      code:
                        pattern: {type: Code, value: '887141000000103'}
                        mustSupport: false
                        index: 33
                      display:
                        pattern: {type: String, value: Assessment scales}
                        mustSupport: false
                        index: 34
                      userSelected: {index: 35}
                    required: [display, system, code]
                  text: {index: 36}
                required: [coding]
              text:
                index: 37
                elements:
                  status: {mustSupport: false, index: 38}
                  div: {mustSupport: false, index: 39}
              mode: {index: 40}
              orderedBy:
                index: 41
                elements:
                  coding:
                    elements:
                      system: {index: 42}
                      version: {index: 43}
                      code: {index: 44}
                      display: {index: 45}
                      userSelected: {index: 46}
                    required: [display, system, code]
                  text: {index: 47}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 48
                elements:
                  reference: {index: 49}
                required: [reference]
              emptyReason: {index: 50}
              section: {index: 51}
            required: [text, title, code]
        informationAndAdviceGivenSection:
          match:
            code:
              coding: {code: '1052951000000105'}
          schema:
            mustSupport: true
            index: 299
            elements:
              title:
                pattern: {type: String, value: Information and advice given}
                mustSupport: false
                index: 300
              code:
                index: 301
                elements:
                  coding:
                    index: 302
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 303
                      version: {index: 304}
                      code:
                        pattern: {type: Code, value: '1052951000000105'}
                        mustSupport: false
                        index: 305
                      display:
                        pattern: {type: String, value: Information and advice given}
                        mustSupport: false
                        index: 306
                      userSelected: {index: 307}
                    required: [display, system, code]
                  text: {index: 308}
                required: [coding]
              text:
                index: 309
                elements:
                  status: {mustSupport: false, index: 310}
                  div: {mustSupport: false, index: 311}
              mode: {index: 312}
              orderedBy:
                index: 313
                elements:
                  coding:
                    elements:
                      system: {index: 314}
                      version: {index: 315}
                      code: {index: 316}
                      display: {index: 317}
                      userSelected: {index: 318}
                    required: [display, system, code]
                  text: {index: 319}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 320
                elements:
                  reference: {index: 321}
                required: [reference]
              emptyReason: {index: 322}
              section: {index: 323}
            required: [text, title, code]
        legalInformationSection:
          match:
            code:
              coding: {code: '886961000000102'}
          schema:
            mustSupport: true
            index: 350
            elements:
              title:
                pattern: {type: String, value: Legal information}
                mustSupport: false
                index: 351
              code:
                index: 352
                elements:
                  coding:
                    index: 353
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 354
                      version: {index: 355}
                      code:
                        pattern: {type: Code, value: '886961000000102'}
                        mustSupport: false
                        index: 356
                      display:
                        pattern: {type: String, value: Legal information}
                        mustSupport: false
                        index: 357
                      userSelected: {index: 358}
                    required: [display, system, code]
                  text: {index: 359}
                required: [coding]
              text: {index: 360}
              mode: {index: 361}
              orderedBy:
                index: 362
                elements:
                  coding:
                    elements:
                      system: {index: 363}
                      version: {index: 364}
                      code: {index: 365}
                      display: {index: 366}
                      userSelected: {index: 367}
                    required: [display, system, code]
                  text: {index: 368}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 369
                elements:
                  reference: {index: 370}
                required: [reference]
              emptyReason: {index: 371}
              section: {index: 372}
            required: [text, title, code]
        patientAndCarerConcernsExpectationsAndWishesSection:
          match:
            code:
              coding: {code: '1052941000000107'}
          schema:
            mustSupport: true
            index: 425
            elements:
              title:
                pattern: {type: String, value: 'Patient and carer concerns, expectations and wishes'}
                mustSupport: false
                index: 426
              code:
                index: 427
                elements:
                  coding:
                    index: 428
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 429
                      version: {index: 430}
                      code:
                        pattern: {type: Code, value: '1052941000000107'}
                        mustSupport: false
                        index: 431
                      display:
                        pattern: {type: String, value: 'Patient and carer concerns, expectations and wishes'}
                        mustSupport: false
                        index: 432
                      userSelected: {index: 433}
                    required: [display, system, code]
                  text: {index: 434}
                required: [coding]
              text: {index: 435}
              mode: {index: 436}
              orderedBy:
                index: 437
                elements:
                  coding:
                    elements:
                      system: {index: 438}
                      version: {index: 439}
                      code: {index: 440}
                      display: {index: 441}
                      userSelected: {index: 442}
                    required: [display, system, code]
                  text: {index: 443}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 444
                elements:
                  reference: {mustSupport: false, index: 445}
                required: [reference]
              emptyReason: {index: 446}
              section: {index: 447}
            required: [text, title, code]
        historySection:
          match:
            code:
              coding: {code: '717121000000105'}
          schema:
            mustSupport: true
            index: 247
            elements:
              title:
                pattern: {type: String, value: History}
                mustSupport: false
                index: 248
              code:
                index: 249
                elements:
                  coding:
                    mustSupport: false
                    index: 250
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 251
                      version: {index: 252}
                      code:
                        pattern: {type: Code, value: '717121000000105'}
                        index: 253
                      display:
                        pattern: {type: String, value: History}
                        index: 254
                      userSelected: {index: 255}
                    required: [display, system, code]
                  text: {index: 256}
                required: [coding]
              text:
                index: 257
                elements:
                  status: {mustSupport: false, index: 258}
                  div: {mustSupport: false, index: 259}
              mode: {index: 260}
              orderedBy:
                index: 261
                elements:
                  coding:
                    elements:
                      system: {mustSupport: false, index: 262}
                      version: {index: 263}
                      code: {mustSupport: false, index: 264}
                      display: {mustSupport: false, index: 265}
                      userSelected: {index: 266}
                    required: [display, system, code]
                  text: {index: 267}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure']
                index: 268
                elements:
                  reference: {index: 269}
                  display: {mustSupport: false, index: 270}
                required: [reference]
              emptyReason: {index: 271}
              section: {index: 272}
            required: [text, title, code]
        safetyAlertsSection:
          match:
            code:
              coding: {code: '886931000000107'}
          schema:
            mustSupport: true
            index: 622
            elements:
              title:
                pattern: {type: String, value: Safety alerts}
                mustSupport: false
                index: 623
              code:
                index: 624
                elements:
                  coding:
                    index: 625
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 626
                      version: {index: 627}
                      code:
                        pattern: {type: Code, value: '886931000000107'}
                        mustSupport: false
                        index: 628
                      display:
                        pattern: {type: String, value: Safety alerts}
                        mustSupport: false
                        index: 629
                      userSelected: {index: 630}
                    required: [display, system, code]
                  text: {index: 631}
                required: [coding]
              text:
                mustSupport: false
                index: 632
                elements:
                  status: {mustSupport: false, index: 633}
                  div: {mustSupport: false, index: 634}
              mode: {index: 635}
              orderedBy:
                index: 636
                elements:
                  coding:
                    elements:
                      system: {index: 637}
                      version: {index: 638}
                      code: {index: 639}
                      display: {index: 640}
                      userSelected: {index: 641}
                    required: [display, system, code]
                  text: {index: 642}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 643
                elements:
                  reference: {index: 644}
                required: [reference]
              emptyReason: {index: 645}
              section: {index: 646}
            required: [text, title, code]
        gpPracticeSection:
          match:
            code:
              coding: {code: '886711000000101'}
          schema:
            mustSupport: true
            index: 224
            elements:
              title:
                pattern: {type: String, value: GP practice}
                index: 225
              code:
                index: 226
                elements:
                  coding:
                    index: 227
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 228
                      version: {index: 229}
                      code:
                        pattern: {type: Code, value: '886711000000101'}
                        index: 230
                      display:
                        pattern: {type: String, value: GP practice}
                        index: 231
                      userSelected: {index: 232}
                    required: [display, system, code]
                  text: {index: 233}
                required: [coding]
              text: {index: 234}
              mode: {index: 235}
              orderedBy:
                index: 236
                elements:
                  coding:
                    elements:
                      system: {index: 237}
                      version: {index: 238}
                      code: {index: 239}
                      display: {index: 240}
                      userSelected: {index: 241}
                    required: [display, system, code]
                  text: {index: 242}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization']
                index: 243
                elements:
                  reference: {index: 244}
                required: [reference]
              emptyReason: {index: 245}
              section: {index: 246}
            required: [entry, text, title, code]
        medicationsAndMedicalDevicesSection:
          match:
            code:
              coding: {code: '933361000000108'}
          schema:
            mustSupport: true
            index: 373
            elements:
              title:
                pattern: {type: String, value: Medications and medical devices}
                mustSupport: false
                index: 374
              code:
                index: 375
                elements:
                  coding:
                    index: 376
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 377
                      version: {index: 378}
                      code:
                        pattern: {type: Code, value: '933361000000108'}
                        mustSupport: false
                        index: 379
                      display:
                        pattern: {type: String, value: Medications and medical devices}
                        mustSupport: false
                        index: 380
                      userSelected: {index: 381}
                    required: [display, system, code]
                  text: {index: 382}
                required: [coding]
              text:
                index: 383
                elements:
                  status: {mustSupport: false, index: 384}
                  div: {mustSupport: false, index: 385}
              mode: {index: 386}
              orderedBy:
                mustSupport: false
                index: 387
                elements:
                  coding:
                    mustSupport: false
                    index: 388
                    elements:
                      system: {mustSupport: false, index: 389}
                      version: {index: 390}
                      code: {mustSupport: false, index: 391}
                      display: {mustSupport: false, index: 392}
                      userSelected: {index: 393}
                    required: [display, system, code]
                  text: {index: 394}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement']
                index: 395
                elements:
                  reference: {mustSupport: false, index: 396}
                  display: {mustSupport: false, index: 397}
                required: [reference]
              emptyReason: {index: 398}
              section: {index: 399}
            required: [text, title, code]
        socialContextSection:
          match:
            code:
              coding: {code: '887051000000101'}
          schema:
            mustSupport: true
            index: 647
            elements:
              title:
                pattern: {type: String, value: Social context}
                mustSupport: false
                index: 648
              code:
                index: 649
                elements:
                  coding:
                    index: 650
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 651
                      version: {index: 652}
                      code:
                        pattern: {type: Code, value: '887051000000101'}
                        mustSupport: false
                        index: 653
                      display:
                        pattern: {type: String, value: Social context}
                        mustSupport: false
                        index: 654
                      userSelected: {index: 655}
                    required: [display, system, code]
                  text: {index: 656}
                required: [coding]
              text:
                index: 657
                elements:
                  status: {mustSupport: false, index: 658}
                  div: {mustSupport: false, index: 659}
              mode: {index: 660}
              orderedBy:
                index: 661
                elements:
                  coding:
                    elements:
                      system: {index: 662}
                      version: {index: 663}
                      code: {index: 664}
                      display: {index: 665}
                      userSelected: {index: 666}
                    required: [display, system, code]
                  text: {index: 667}
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                index: 668
                elements:
                  reference: {mustSupport: false, index: 669}
                required: [reference]
              emptyReason: {index: 670}
              section: {index: 671}
            required: [text, title, code]
        investigationResultsSection:
          match:
            code:
              coding: {code: '1082101000000102'}
          schema:
            mustSupport: true
            index: 324
            elements:
              title:
                pattern: {type: String, value: Investigation results}
                mustSupport: false
                index: 325
              code:
                index: 326
                elements:
                  coding:
                    index: 327
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        mustSupport: false
                        index: 328
                      version: {index: 329}
                      code:
                        pattern: {type: Code, value: '1082101000000102'}
                        mustSupport: false
                        index: 330
                      display:
                        pattern: {type: String, value: Investigation results}
                        mustSupport: false
                        index: 331
                      userSelected: {index: 332}
                    required: [display, system, code]
                  text: {index: 333}
                required: [coding]
              text:
                index: 334
                elements:
                  status: {mustSupport: false, index: 335}
                  div: {mustSupport: false, index: 336}
              mode: {index: 337}
              orderedBy:
                index: 338
                elements:
                  coding:
                    mustSupport: false
                    index: 339
                    elements:
                      system: {mustSupport: false, index: 340}
                      version: {index: 341}
                      code: {mustSupport: false, index: 342}
                      display: {mustSupport: false, index: 343}
                      userSelected: {index: 344}
                    required: [display, system, code]
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/StructureDefinition/Binary', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure']
                index: 345
                elements:
                  reference: {mustSupport: false, index: 346}
                  display: {mustSupport: false, index: 347}
                required: [reference]
              emptyReason: {index: 348}
              section: {index: 349}
            required: [text, title, code]
package_version: 2.8.6-prerelease
class: profile
kind: resource
url: https://fhir.nhs.uk/StructureDefinition/Composition-CareConnect-OPL
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition
version: 1.3.1
required: [section]