PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.pacio-adi@2.0.0-ballot
    http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOComposition
description: This profile encompasses information that makes up a practitioner's portable medical order.
package_name: hl7.fhir.us.pacio-adi
derivation: constraint
name: ADIPMOComposition
type: Composition
elements:
  type:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 93037-0, system: 'http://loinc.org'}
    type: CodeableConcept
    index: 0
  author:
    type: Reference
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole']
    index: 1
  attester:
    mustSupport: true
    index: 2
    elements:
      mode:
        pattern: {type: code, value: legal}
        type: code
        index: 3
      party:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole']
        index: 4
  event:
    elements:
      detail:
        type: Reference
        short: ADI PMO Service Request
        refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOServiceRequest']
        array: true
        index: 5
        slicing:
          slices:
            pmo-servicerequest:
              match: {}
              schema:
                type: Reference
                short: ADI PMO Service Request
                refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOServiceRequest']
                array: true
                index: 5
              min: 0
            pmo-healthcareagentconsent:
              match: {}
              schema:
                type: Reference
                short: ADI Healthcare Agent Consent
                refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-HealthcareAgentConsent']
                array: true
                index: 6
              min: 0
            pmo-procedure:
              match: {}
              schema:
                type: Reference
                short: ADI PMO Procedure
                refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOProcedure']
                array: true
                index: 7
              min: 0
  section:
    index: 8
    elements:
      text: {mustSupport: true, index: 9}
    required: [text]
    slicing:
      rules: open
      ordered: false
      description: Slice based on code
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        portable_medical_orders:
          match:
            code:
              coding:
              - {code: 93037-0, system: 'http://loinc.org', display: Portable medical order form}
          schema:
            short: Portable Medical Orders
            mustSupport: true
            _required: true
            index: 10
            extensions:
              ClauseExtension: {url: null, short: 'Section clause, additional instructions, or information', index: 11}
            elements:
              extension:
                short: Section clause, additional instructions, or information
                index: 11
                slicing:
                  slices:
                    ClauseExtension:
                      match: {}
                      schema: {short: 'Section clause, additional instructions, or information', index: 11}
              title: {mustSupport: true, index: 12}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 93037-0, system: 'http://loinc.org', display: Portable medical order form}
                type: CodeableConcept
                index: 13
              entry:
                type: Reference
                mustSupport: true
                refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOServiceRequest']
                index: 14
                slicing:
                  rules: open
                  ordered: false
                  description: Slice based on $this value
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    cardiopulmonary_resuscitation_service_request:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOCPRServiceRequest']
                        index: 15
                      min: 0
                      max: 1
                    initial_treatment_service_request:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOInitialTreatmentServiceRequest']
                        index: 16
                      min: 0
                      max: 1
                    additional_orders_or_instructions_service_request:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOAdditionalOrdersOrInstructionsServiceRequest']
                        array: true
                        index: 17
                      min: 0
                    medically_assisted_nutrition_service_request:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOMedicallyAssistedNutritionServiceRequest']
                        index: 18
                      min: 0
                      max: 1
                    medically_assisted_hydration_service_request:
                      match: {}
                      schema:
                        type: Reference
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOMedicallyAssistedHydrationServiceRequest']
                        index: 19
                      min: 0
                      max: 1
            required: [code, title]
        completion_information:
          match:
            code:
              coding:
              - {code: ldo, system: 'http://hl7.org/fhir/us/pacio-adi/CodeSystem/adi-temp-cs'}
          schema:
            short: Portable medical order completion information
            index: 20
            extensions:
              ClauseExtension: {url: null, short: 'Administrative, instructional, and/or legal information', index: 21}
            elements:
              extension:
                short: Administrative, instructional, and/or legal information
                index: 21
                slicing:
                  slices:
                    ClauseExtension:
                      match: {}
                      schema: {short: 'Administrative, instructional, and/or legal information', index: 21}
              title: {mustSupport: true, index: 22}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ldo, system: 'http://hl7.org/fhir/us/pacio-adi/CodeSystem/adi-temp-cs'}
                type: CodeableConcept
                index: 23
              entry:
                index: 24
                slicing:
                  rules: open
                  ordered: false
                  description: Slice based on $this value
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    orders_review:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOReviewObservation']
                        array: true
                        index: 25
                      min: 0
                    orders_participant:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOParticipantObservation']
                        array: true
                        index: 26
                      min: 0
            required: [code, title]
        administration_information:
          match:
            code:
              coding:
              - {code: adm, system: 'http://hl7.org/fhir/us/pacio-adi/CodeSystem/adi-temp-cs'}
          schema:
            short: Observations regarding the existence of other advance directive related information
            index: 27
            extensions:
              ClauseExtension: {url: null, index: 28}
            elements:
              extension:
                index: 28
                slicing:
                  slices:
                    ClauseExtension:
                      match: {}
                      schema: {index: 28}
              title: {mustSupport: true, index: 29}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: adm, system: 'http://hl7.org/fhir/us/pacio-adi/CodeSystem/adi-temp-cs'}
                type: CodeableConcept
                index: 30
              entry:
                index: 31
                slicing:
                  rules: open
                  ordered: false
                  description: Slice based on $this value
                  discriminator:
                  - {path: resolve(), type: profile}
                  min: null
                  slices:
                    adi_personal_goal:
                      match: {}
                      schema:
                        type: Reference
                        short: ADI Personal Goal
                        refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PersonalGoal']
                        array: true
                        index: 32
                      min: 0
                    adi_decisional_capacity:
                      match: {}
                      schema:
                        short: ADI Decisional Capacity
                        refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-DecisionalCapacity']
                        type: Reference
                        mustSupport: true
                        index: 33
                      min: 0
                      max: 1
                    adi_pmo_hospice_observation:
                      match: {}
                      schema:
                        short: Hospice or palliative care enrollment
                        refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOHospiceObservation']
                        type: Reference
                        mustSupport: true
                        index: 34
                      min: 0
                      max: 1
                    minimal_source_form:
                      match: {}
                      schema:
                        short: Minimal Source Form
                        refers: ['http://hl7.org/fhir/StructureDefinition/Binary']
                        type: Reference
                        mustSupport: true
                        index: 35
                      min: 0
                      max: 1
            required: [code, title]
        gpp_upon_death:
          match:
            code:
              coding:
              - {code: 81337-8, system: 'http://loinc.org'}
          schema:
            short: Goals, preferences, and priorities upon death
            index: 36
            extensions:
              ClauseExtension: {url: null, index: 37}
            elements:
              extension:
                index: 37
                slicing:
                  slices:
                    ClauseExtension:
                      match: {}
                      schema: {index: 37}
              title: {mustSupport: true, index: 38}
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 81337-8, system: 'http://loinc.org'}
                type: CodeableConcept
                index: 39
              entry:
                type: Reference
                mustSupport: true
                refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-AutopsyObservation', 'http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-OrganDonationObservation', 'http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PersonalGoal', 'http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PersonalInterventionPreference', 'http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PersonalPrioritiesOrganizer', 'http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-UponDeathPreferences']
                index: 40
            required: [code, title]
        minimal_source_form:
          match:
            code:
              coding:
              - {code: minimal_source_form, system: 'http://hl7.org/fhir/us/pacio-adi/CodeSystem/adi-temp-cs'}
          schema:
            short: Minimal source form
            index: 41
            extensions:
              ClauseExtension: {url: null, index: 42}
            elements:
              extension:
                index: 42
                slicing:
                  slices:
                    ClauseExtension:
                      match: {}
                      schema: {index: 42}
              title: {mustSupport: true, index: 43}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: minimal_source_form, system: 'http://hl7.org/fhir/us/pacio-adi/CodeSystem/adi-temp-cs'}
                type: CodeableConcept
                index: 44
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-ADIMinimalSourceFormInformation']
                index: 45
            required: [code, title]
        additional_documentation:
          match:
            code:
              coding:
              - {code: 77599-9, system: 'http://loinc.org'}
          schema:
            short: Observations regarding the existence of other advance directive related information
            index: 46
            extensions:
              ClauseExtension: {url: null, index: 47}
            elements:
              extension:
                index: 47
                slicing:
                  slices:
                    ClauseExtension:
                      match: {}
                      schema: {index: 47}
              title: {mustSupport: true, index: 48}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 77599-9, system: 'http://loinc.org'}
                type: CodeableConcept
                index: 49
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-DocumentationObservation']
                index: 50
            required: [code, title]
        witness_and_notary:
          match:
            code:
              coding:
              - {code: 81339-4, system: 'http://loinc.org'}
          schema:
            short: Witness and notary information.  The first witness should be the author of the document.
            index: 51
            extensions:
              ClauseExtension: {url: null, index: 52}
            elements:
              extension:
                index: 52
                slicing:
                  slices:
                    ClauseExtension:
                      match: {}
                      schema: {index: 52}
              title: {mustSupport: true, index: 53}
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 81339-4, system: 'http://loinc.org'}
                type: CodeableConcept
                index: 54
              entry:
                type: Reference
                refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-HealthcareAgentParticipant']
                index: 55
            required: [code, title]
package_version: 2.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PMOComposition
base: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-Composition-Header
version: 2.0.0-ballot
required: [attester, section]