http://hl7.org/fhir/StructureDefinition/example-section-library|5.0.0

Document Section Library (For testing section templates)
description: Document Section Library (For testing section templates)
derivation: constraint
name: DocumentSectionLibrary
abstract: true
type: Composition
elements:
  section:
    index: 0
    slicing:
      rules: closed
      ordered: true
      description: Slice by .section.code when using this library of sections
      discriminator:
      - {path: code, type: pattern}
      min: null
      slices:
        procedure:
          match:
            code:
              coding:
              - {code: 29554-3, system: 'http://loinc.org', display: Procedure Narrative}
          schema:
            index: 1
            elements:
              title:
                pattern: {type: String, value: Procedures Performed}
                index: 2
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29554-3, system: 'http://loinc.org', display: Procedure Narrative}
                index: 3
            required: [title, code]
        medications:
          match:
            code:
              coding:
              - {code: 29549-3, system: 'http://loinc.org', display: Medication administered Narrative}
          schema:
            index: 4
            elements:
              title:
                pattern: {type: String, value: Medications Administered}
                index: 5
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29549-3, system: 'http://loinc.org', display: Medication administered Narrative}
                index: 6
            required: [title, code]
        plan:
          match:
            code:
              coding:
              - {code: 18776-5, system: 'http://loinc.org', display: Plan of treatment (narrative)}
          schema:
            index: 7
            elements:
              title:
                pattern: {type: String, value: Discharge Treatment Plan}
                index: 8
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 18776-5, system: 'http://loinc.org', display: Plan of treatment (narrative)}
                index: 9
            required: [title, code]
class: profile
kind: resource
url: http://hl7.org/fhir/StructureDefinition/example-section-library
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 5.0.0