PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.ips@2.0.0
    http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips
description: Clinical document used to represent the International Patient Summary (IPS) data set. \nAn International Patient Summary (IPS) document is an electronic health record extract containing essential healthcare information about a subject of care. \nThe IPS dataset is minimal and non-exhaustive; specialty-agnostic and condition-independent; but still clinically relevant. As specified in ISO 27269, it is designed for supporting the use case scenario for ‘unplanned, cross border care’, but it is not limited to it. It is intended to be international, i.e., to provide generic solutions for global application beyond a particular region or country.
package_name: hl7.fhir.uv.ips
derivation: constraint
name: CompositionUvIps
type: Composition
elements:
  date: {mustSupport: true, index: 7}
  meta:
    elements:
      profile: {short: The conformance of this Composition to a specific IPS version., mustSupport: true, index: 0}
  section:
    min: 3
    short: Sections composing the IPS
    index: 23
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: code, type: value}
      min: 3
      slices:
        sectionProblems:
          match:
            code:
              coding:
              - {code: 11450-4, system: 'http://loinc.org'}
          schema:
            constraint:
              ips-comp-1: {human: Either section.entry or emptyReason are present, source: 'http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips', severity: error, expression: (entry.reference.exists() or emptyReason.exists())}
            short: IPS Problems Section
            mustSupport: true
            _required: true
            index: 30
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 31}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 31
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 31}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11450-4, system: 'http://loinc.org'}
                index: 32
              entry:
                type: Reference
                short: Clinical problems or conditions currently being monitored for the patient.
                refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 33
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    problem:
                      match: {}
                      schema:
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips']
                        type: Reference
                        mustSupport: true
                        array: true
                        index: 34
                      min: 0
              emptyReason: {mustSupport: true, index: 35}
        sectionPatientStory:
          match:
            code:
              coding:
              - {code: 81338-6, system: 'http://loinc.org'}
          schema:
            short: IPS Patient Story Section
            mustSupport: true
            index: 97
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 98}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 98
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 98}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 81338-6, system: 'http://loinc.org'}
                index: 99
              entry: {short: Patient Story resources., index: 100}
        sectionProceduresHx:
          match:
            code:
              coding:
              - {code: 47519-4, system: 'http://loinc.org'}
          schema:
            short: IPS History of Procedures Section
            mustSupport: true
            index: 60
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 61}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 61
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 61}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47519-4, system: 'http://loinc.org'}
                index: 62
              entry:
                type: Reference
                short: Patient past procedures pertinent to the scope of this document.
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Procedure']
                index: 63
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    procedure:
                      match: {}
                      schema:
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Procedure-uv-ips']
                        type: Reference
                        mustSupport: true
                        array: true
                        index: 64
                      min: 0
        sectionPastProblems:
          match:
            code:
              coding:
              - {code: 11348-0, system: 'http://loinc.org'}
          schema:
            short: IPS History of Past Problems Section
            mustSupport: true
            index: 86
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 87}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 87
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 87}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11348-0, system: 'http://loinc.org'}
                index: 88
              entry:
                type: Reference
                short: Conditions the patient suffered in the past.
                refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 89
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    pastProblem:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips']
                        array: true
                        index: 90
                      min: 0
        sectionPlanOfCare:
          match:
            code:
              coding:
              - {code: 18776-5, system: 'http://loinc.org'}
          schema:
            short: IPS Plan of Care Section
            mustSupport: true
            index: 101
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 102}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 102
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 102}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 18776-5, system: 'http://loinc.org'}
                index: 103
              entry:
                type: Reference
                short: Optional entry used to represent structured care plans
                refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation']
                index: 104
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    carePlan:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan']
                        array: true
                        index: 105
                      min: 0
                    immunizationRecommendation:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation']
                        array: true
                        index: 106
                      min: 0
        sectionMedicalDevices:
          match:
            code:
              coding:
              - {code: 46264-8, system: 'http://loinc.org'}
          schema:
            short: IPS Medical Devices Section
            mustSupport: true
            index: 65
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 66}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 66
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 66}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 46264-8, system: 'http://loinc.org'}
                index: 67
              entry:
                type: Reference
                short: Patient history of medical device use.
                refers: ['http://hl7.org/fhir/StructureDefinition/DeviceUseStatement', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 68
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    deviceStatement:
                      match: {}
                      schema:
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/DeviceUseStatement-uv-ips']
                        type: Reference
                        mustSupport: true
                        array: true
                        index: 69
                      min: 0
        sectionSocialHistory:
          match:
            code:
              coding:
              - {code: 29762-2, system: 'http://loinc.org'}
          schema:
            short: IPS Social History Section
            mustSupport: true
            index: 107
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 108}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 108
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 108}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 29762-2, system: 'http://loinc.org'}
                index: 109
              entry:
                type: Reference
                short: Health related "lifestyle factors" or "lifestyle observations" (e.g. smoke habits; alcohol consumption; diets, risky habits.)
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
                index: 110
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    smokingTobaccoUse:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-tobaccouse-uv-ips']
                        index: 111
                      min: 0
                      max: 1
                    alcoholUse:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-alcoholuse-uv-ips']
                        index: 112
                      min: 0
                      max: 1
        sectionFunctionalStatus:
          match:
            code:
              coding:
              - {code: 47420-5, system: 'http://loinc.org'}
          schema:
            short: IPS Functional Status
            mustSupport: true
            index: 80
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 81}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 81
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 81}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 47420-5, system: 'http://loinc.org'}
                index: 82
              entry:
                type: Reference
                short: Optional entry used to represent disabilities and functional assessments
                refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression', 'http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 83
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    disability:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips']
                        array: true
                        index: 84
                      min: 0
                    functionalAssessment:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression']
                        array: true
                        index: 85
                      min: 0
        sectionAllergies:
          match:
            code:
              coding:
              - {code: 48765-2, system: 'http://loinc.org'}
          schema:
            constraint:
              ips-comp-1: {human: Either section.entry or emptyReason are present, source: 'http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips', severity: error, expression: (entry.reference.exists() or emptyReason.exists())}
            short: IPS Allergies and Intolerances Section
            mustSupport: true
            _required: true
            index: 36
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 37}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 37
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 37}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 48765-2, system: 'http://loinc.org'}
                index: 38
              entry:
                type: Reference
                short: Relevant allergies or intolerances for that patient.
                refers: ['http://hl7.org/fhir/StructureDefinition/AllergyIntolerance', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 39
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    allergyOrIntolerance:
                      match: {}
                      schema:
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips']
                        type: Reference
                        mustSupport: true
                        array: true
                        index: 40
                      min: 0
              emptyReason: {mustSupport: true, index: 41}
        sectionPregnancyHx:
          match:
            code:
              coding:
              - {code: 10162-6, system: 'http://loinc.org'}
          schema:
            short: IPS History of Pregnancy Section
            mustSupport: true
            index: 91
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 92}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 92
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 92}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10162-6, system: 'http://loinc.org'}
                index: 93
              entry:
                type: Reference
                short: Current pregnancy status and, optionally, information about the outcome of earlier pregnancies.
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
                index: 94
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    pregnancyStatus:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-status-uv-ips']
                        array: true
                        index: 95
                      min: 0
                    pregnancyOutcome:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-outcome-uv-ips']
                        array: true
                        index: 96
                      min: 0
        sectionAdvanceDirectives:
          match:
            code:
              coding:
              - {code: 42348-3, system: 'http://loinc.org'}
          schema:
            short: IPS Advance Directives Section
            mustSupport: true
            index: 70
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 71}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 71
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 71}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 42348-3, system: 'http://loinc.org'}
                index: 72
              entry:
                type: Reference
                short: Narrative description of the patient's advance directive.
                refers: ['http://hl7.org/fhir/StructureDefinition/Consent', 'http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 73
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    advanceDirectivesConsent:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/StructureDefinition/Consent']
                        array: true
                        index: 74
                      min: 0
        sectionAlerts:
          match:
            code:
              coding:
              - {code: 104605-1, system: 'http://loinc.org'}
          schema:
            short: IPS Alerts Section
            mustSupport: true
            index: 75
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 76}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 76
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 76}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 104605-1, system: 'http://loinc.org'}
                index: 77
              entry:
                type: Reference
                short: Alert information.
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Flag']
                index: 78
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    alertsFlag:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Flag-alert-uv-ips']
                        array: true
                        index: 79
                      min: 0
        sectionVitalSigns:
          match:
            code:
              coding:
              - {code: 8716-3, system: 'http://loinc.org'}
          schema:
            short: IPS Vital Signs Section
            mustSupport: true
            label: Vital signs
            index: 113
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 114}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 114
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 114}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 8716-3, system: 'http://loinc.org'}
                index: 115
              entry:
                type: Reference
                short: Notable vital signs or physical findings.
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
                index: 116
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    vitalSign:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/StructureDefinition/vitalsigns']
                        array: true
                        index: 117
                      min: 0
        sectionImmunizations:
          match:
            code:
              coding:
              - {code: 11369-6, system: 'http://loinc.org'}
          schema:
            short: IPS Immunizations Section
            mustSupport: true
            index: 48
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 49}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 49
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 49}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 11369-6, system: 'http://loinc.org'}
                index: 50
              entry:
                type: Reference
                short: Patient's immunization status and pertinent history.
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Immunization']
                index: 51
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    immunization:
                      match: {}
                      schema:
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Immunization-uv-ips']
                        type: Reference
                        mustSupport: true
                        array: true
                        index: 52
                      min: 0
        sectionResults:
          match:
            code:
              coding:
              - {code: 30954-2, system: 'http://loinc.org'}
          schema:
            short: IPS Results Section
            mustSupport: true
            index: 53
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 54}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 54
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 54}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 30954-2, system: 'http://loinc.org'}
                index: 55
              entry:
                type: Reference
                short: Relevant observation results collected on the patient or produced on in-vitro biologic specimens collected from the patient.
                refers: ['http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation']
                index: 56
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: type}
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    results-observation-laboratory-pathology:
                      match: {}
                      schema:
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-laboratory-pathology-uv-ips']
                        type: Reference
                        mustSupport: true
                        array: true
                        index: 57
                      min: 0
                    results-observation-radiology:
                      match: {}
                      schema:
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-radiology-uv-ips']
                        type: Reference
                        mustSupport: true
                        array: true
                        index: 58
                      min: 0
                    results-diagnosticReport:
                      match: {}
                      schema:
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/DiagnosticReport-uv-ips']
                        type: Reference
                        mustSupport: true
                        array: true
                        index: 59
                      min: 0
        sectionMedications:
          match:
            code:
              coding:
              - {code: 10160-0, system: 'http://loinc.org'}
          schema:
            constraint:
              ips-comp-1: {human: Either section.entry or emptyReason are present, source: 'http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips', severity: error, expression: (entry.reference.exists() or emptyReason.exists())}
            short: IPS Medication Summary Section
            mustSupport: true
            _required: true
            index: 42
            extensions:
              section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 43}
            elements:
              extension:
                type: Extension
                short: Additional notes that apply to the section (but not to specific resource).
                url: http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1
                index: 43
                slicing:
                  slices:
                    section-note:
                      match: {}
                      schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 43}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 10160-0, system: 'http://loinc.org'}
                index: 44
              entry:
                type: Reference
                short: Medications relevant for the scope of the patient summary
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/MedicationAdministration', 'http://hl7.org/fhir/StructureDefinition/MedicationDispense', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/MedicationStatement']
                index: 45
                slicing:
                  rules: open
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    medicationStatementOrRequest:
                      match: {}
                      schema:
                        refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/MedicationRequest-uv-ips', 'http://hl7.org/fhir/uv/ips/StructureDefinition/MedicationStatement-uv-ips']
                        type: Reference
                        mustSupport: true
                        array: true
                        index: 46
                      min: 0
              emptyReason: {mustSupport: true, index: 47}
    mustSupport: true
    array: true
    elements:
      extension:
        index: 24
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            section-note:
              match: {url: null}
              schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', index: 25}
              min: 0
      title: {mustSupport: true, index: 26}
      code: {mustSupport: true, index: 27}
      text: {mustSupport: true, index: 28}
      section: {index: 29}
    extensions:
      section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note|5.3.0-ballot-tc1', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 25}
    required: [text, title, code]
  attester:
    mustSupport: true
    index: 10
    elements:
      mode: {mustSupport: true, index: 11}
      time: {mustSupport: true, index: 12}
      party: {mustSupport: true, index: 13}
  type:
    type: CodeableConcept
    short: Kind of composition ("Patient Summary")
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 60591-5, system: 'http://loinc.org'}
    index: 4
  title: {short: The title of this patient summary. This may include information like the patient name and time generated, mustSupport: true, index: 9}
  author: {short: Who and/or what authored the IPS, mustSupport: true, index: 8}
  event:
    index: 19
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        careProvisioningEvent:
          match:
            code:
              coding:
              - {code: PCPR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'}
          schema:
            short: The care provisioning being documented
            mustSupport: true
            index: 20
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: PCPR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'}
                index: 21
              period: {mustSupport: true, index: 22}
            required: [code]
  custodian: {mustSupport: true, index: 14}
  status: {mustSupport: true, index: 3}
  identifier: {mustSupport: true, index: 2}
  relatesTo:
    elements:
      target:
        choices: [targetIdentifier, targetReference]
        index: 16
      targetIdentifier: {type: Identifier, choiceOf: target, index: 17}
      targetReference:
        type: Reference
        choiceOf: target
        refers: ['http://hl7.org/fhir/StructureDefinition/Composition', 'http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips']
        index: 18
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips']
    index: 5
    elements:
      reference: {mustSupport: true, index: 6}
    required: [reference]
  text: {mustSupport: true, index: 1}
package_version: 2.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 2.0.0
required: [subject]