PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.health-care-surveys-reporting@1.0.0
    http://hl7.org/fhir/us/health-care-surveys-reporting/StructureDefinition/hcs-composition
description: This Composition profile is used to organize the healthcare survey report content.
package_name: hl7.fhir.us.health-care-surveys-reporting
derivation: constraint
name: HcsComposition
type: Composition
elements:
  date: {isModifier: false, mustSupport: true, index: 5}
  encounter:
    isModifier: false
    short: Encounter related to the public health event
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter']
    type: Reference
    mustSupport: true
    index: 4
  section:
    mustSupport: true
    index: 8
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        sliceGoalsSection:
          match:
            code:
              coding:
              - {code: 61146-7, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Goals Section
            mustSupport: true
            index: 87
            elements:
              code:
                short: Goals Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 61146-7, system: 'http://loinc.org'}
                index: 88
              text: {short: Goals Section narrative, mustSupport: true, index: 89}
              entry:
                type: Reference
                mustSupport: true
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal']
                index: 90
            required: [text, code]
        sliceAllergiesSection:
          match:
            code:
              coding:
              - {code: 48765-2, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Allergies Section
            mustSupport: true
            _required: true
            index: 16
            elements:
              code:
                short: Allergies Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48765-2, system: 'http://loinc.org'}
                index: 17
              text: {short: Allergies Section narrative, mustSupport: true, index: 18}
              entry:
                type: Reference
                mustSupport: true
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance']
                index: 19
            required: [text, code]
        sliceMedicationsAdministeredSection:
          match:
            code:
              coding:
              - {code: 29549-3, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Medications Administered Section
            mustSupport: true
            index: 20
            elements:
              code:
                short: Medications Administered Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29549-3, system: 'http://loinc.org'}
                index: 21
              text: {short: Medications Administered Section narrative, mustSupport: true, index: 22}
              entry:
                mustSupport: true
                index: 23
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    sliceMedicationAdministration:
                      match: {}
                      schema:
                        type: Reference
                        short: Medication Administration Entry
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/health-care-surveys-reporting/StructureDefinition/hcs-medicationadministration']
                        index: 24
                    sliceMedicationReferences:
                      match: {}
                      schema:
                        type: Reference
                        short: Medication Reference Entries
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication']
                        index: 25
            required: [text, code]
        sliceMedicationsSection:
          match:
            code:
              coding:
              - {code: 10160-0, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Medications Section
            mustSupport: true
            _required: true
            index: 33
            elements:
              code:
                short: Medications Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10160-0, system: 'http://loinc.org'}
                index: 34
              text: {short: Medications Section narrative, mustSupport: true, index: 35}
              entry:
                mustSupport: true
                index: 36
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    sliceMedicationAdministration:
                      match: {}
                      schema:
                        type: Reference
                        short: Medication Administration Entry
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/health-care-surveys-reporting/StructureDefinition/hcs-medicationadministration']
                        index: 37
                    sliceMedicationStatement:
                      match: {}
                      schema:
                        type: Reference
                        short: Medication Statement Entry
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/health-care-surveys-reporting/StructureDefinition/hcs-medicationstatement']
                        index: 38
                    sliceMedicationReferences:
                      match: {}
                      schema:
                        type: Reference
                        short: Medication Reference Entries
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication']
                        index: 39
            required: [text, code]
        sliceCarePlanSection:
          match:
            code:
              coding:
              - {code: 18776-5, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Care Plan Section
            mustSupport: true
            index: 83
            elements:
              code:
                short: Care Plan Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 18776-5, system: 'http://loinc.org'}
                index: 84
              text: {short: Care Plan Section narrative, mustSupport: true, index: 85}
              entry:
                type: Reference
                mustSupport: true
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan']
                index: 86
            required: [text, code]
        sliceNotesSection:
          match:
            code:
              coding:
              - {code: 28650-0, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Clinical and Diagnostic Reports Section
            mustSupport: true
            array: true
            index: 46
            elements:
              code:
                short: Clinical Notes Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 28650-0, system: 'http://loinc.org'}
                index: 47
              text: {short: Notes Section narrative, mustSupport: true, index: 48}
              entry:
                mustSupport: true
                index: 49
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    sliceDocumentReferenceEntry:
                      match: {}
                      schema:
                        type: Reference
                        short: Document Reference Entries
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference']
                        index: 50
                    sliceDiagnosticReportEntry:
                      match: {}
                      schema:
                        type: Reference
                        short: Diagnostic Report Entries
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note']
                        index: 51
            required: [text, code]
        sliceProceduresSection:
          match:
            code:
              coding:
              - {code: 47519-4, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: This section describes all interventional, surgical, diagnostic, or therapeutic procedures or treatments pertinent to the patient historically at the time the document is generated.
            mustSupport: true
            index: 63
            elements:
              code:
                short: Procedures Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47519-4, system: 'http://loinc.org'}
                index: 64
              text: {short: Procedures Section narrative, mustSupport: true, index: 65}
              entry:
                type: Reference
                isModifier: false
                mustSupport: true
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure']
                index: 66
            required: [text, code]
        sliceVitalSignsSection:
          match:
            code:
              coding:
              - {code: 8716-3, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Vital Signs Section
            mustSupport: true
            index: 67
            elements:
              code:
                short: Vital Signs code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8716-3, system: 'http://loinc.org'}
                index: 68
              text: {short: Vital Signs narrative, mustSupport: true, index: 69}
              entry:
                type: Reference
                isModifier: false
                mustSupport: true
                refers: ['http://hl7.org/fhir/StructureDefinition/Observation']
                index: 70
            required: [text, code]
        sliceAdmissionMedicationsSection:
          match:
            code:
              coding:
              - {code: 42346-7, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Admission Medications Section
            mustSupport: true
            index: 26
            elements:
              code:
                short: Admission Medications Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 42346-7, system: 'http://loinc.org'}
                index: 27
              text: {short: Admission Medications Section narrative, mustSupport: true, index: 28}
              entry:
                mustSupport: true
                index: 29
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    sliceMedicationAdministration:
                      match: {}
                      schema:
                        type: Reference
                        short: Medication Administration Entry
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/health-care-surveys-reporting/StructureDefinition/hcs-medicationadministration']
                        index: 30
                    sliceMedicationStatement:
                      match: {}
                      schema:
                        type: Reference
                        short: Medication Statement Entry
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/health-care-surveys-reporting/StructureDefinition/hcs-medicationstatement']
                        index: 31
                    sliceMedicationReferences:
                      match: {}
                      schema:
                        type: Reference
                        short: Medication Reference Entries
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication']
                        index: 32
            required: [text, code]
        sliceReasonForVisitSection:
          match:
            code:
              coding:
              - {code: 29299-5, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Reason for Visit Section
            mustSupport: true
            _required: true
            index: 9
            elements:
              code:
                short: Reason for Visit code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29299-5, system: 'http://loinc.org'}
                index: 10
              text: {short: Reason for Visit narrative, mustSupport: true, index: 11}
            required: [text, code]
        sliceImmunizationsSection:
          match:
            code:
              coding:
              - {code: 11369-6, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Immunizations Section
            mustSupport: true
            index: 59
            elements:
              code:
                short: Immunizations code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11369-6, system: 'http://loinc.org'}
                index: 60
              text: {short: Immunizations narrative, mustSupport: true, index: 61}
              entry:
                type: Reference
                isModifier: false
                mustSupport: true
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization']
                index: 62
            required: [text, code]
        sliceCareTeamSection:
          match:
            code:
              coding:
              - {code: 85847-2, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Care Team Section
            mustSupport: true
            index: 79
            elements:
              code:
                short: Care Team Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 85847-2, system: 'http://loinc.org'}
                index: 80
              text: {short: Care Team Section narrative, mustSupport: true, index: 81}
              entry:
                type: Reference
                mustSupport: true
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam']
                index: 82
            required: [text, code]
        sliceResultsSection:
          match:
            code:
              coding:
              - {code: 30954-2, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Results Section
            mustSupport: true
            index: 40
            elements:
              code:
                short: Results Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 30954-2, system: 'http://loinc.org'}
                index: 41
              text: {short: Results Section narrative, mustSupport: true, index: 42}
              entry:
                mustSupport: true
                index: 43
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    sliceLabResultEntry:
                      match: {}
                      schema:
                        type: Reference
                        short: Lab Result Entries
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab']
                        index: 44
                    sliceDiagnosticResultEntry:
                      match: {}
                      schema:
                        type: Reference
                        short: Diagnostic Result Entries
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab']
                        index: 45
            required: [text, code]
        slicePlanOfTreatmentSection:
          match:
            code:
              coding:
              - {code: 18776-5, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Plan of Treatment Section
            mustSupport: true
            index: 52
            elements:
              code:
                short: Plan of Treatment code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 18776-5, system: 'http://loinc.org'}
                index: 53
              text: {short: Plan of Treatment narrative, mustSupport: true, index: 54}
              entry:
                mustSupport: true
                index: 55
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    sliceMedicationRequest:
                      match: {}
                      schema:
                        type: Reference
                        short: Medication Request Entries
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest']
                        index: 56
                    sliceMedicationReferences:
                      match: {}
                      schema:
                        type: Reference
                        short: Medication Reference Entries
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication']
                        index: 57
                    sliceProcedureOrders:
                      match: {}
                      schema:
                        type: Reference
                        short: Procedure Order Entries
                        isModifier: false
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/health-care-surveys-reporting/StructureDefinition/hcs-servicerequest']
                        index: 58
            required: [text, code]
        sliceSocialHistorySection:
          match:
            code:
              coding:
              - {code: 29762-2, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Social History Section
            mustSupport: true
            index: 71
            elements:
              code:
                short: Social History Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29762-2, system: 'http://loinc.org'}
                index: 72
              text: {short: Social History Section narrative, mustSupport: true, index: 73}
              entry:
                type: Reference
                mustSupport: true
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus']
                index: 74
            required: [text, code]
        sliceMedicalEquipmentSection:
          match:
            code:
              coding:
              - {code: 46264-8, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Medical Equipment Section
            mustSupport: true
            index: 75
            elements:
              code:
                short: Medical Equipment Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 46264-8, system: 'http://loinc.org'}
                index: 76
              text: {short: Medical Equipment Section narrative, mustSupport: true, index: 77}
              entry:
                type: Reference
                mustSupport: true
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device']
                index: 78
            required: [text, code]
        sliceProblemSection:
          match:
            code:
              coding:
              - {code: 11450-4, system: 'http://loinc.org'}
          schema:
            isModifier: false
            short: Problem Section
            mustSupport: true
            _required: true
            index: 12
            elements:
              code:
                short: Problem Section code
                isModifier: false
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11450-4, system: 'http://loinc.org'}
                index: 13
              text: {short: Problem Section narrative, mustSupport: true, index: 14}
              entry:
                type: Reference
                mustSupport: true
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition']
                index: 15
            required: [text, code]
  type:
    short: Health Care Survey Report
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 75619-7, system: 'http://loinc.org'}
    index: 2
  title:
    pattern: {type: String, value: Health Care Survey Report}
    mustSupport: true
    index: 7
  author:
    isModifier: false
    short: The author(s) of the document
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole']
    type: Reference
    mustSupport: true
    array: true
    index: 6
  status:
    pattern: {type: Code, value: final}
    mustSupport: true
    index: 1
  identifier: {short: Health Care Survey Report Composition identifier, mustSupport: true, index: 0}
  subject:
    isModifier: false
    short: Patient who is the subject of the report.
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
    type: Reference
    mustSupport: true
    index: 3
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/health-care-surveys-reporting/StructureDefinition/hcs-composition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 1.0.0
required: [encounter, identifier, subject]