description: This profile encompasses information that makes up the author’s advance care information plan. package_name: hl7.fhir.us.pacio-adi derivation: constraint name: ADIPACPComposition type: Composition elements: author: type: Reference refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient'] index: 0 attester: mustSupport: true index: 1 elements: mode: pattern: {type: code, value: personal} type: code index: 2 party: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient'] index: 3 section: index: 4 elements: text: {mustSupport: true, index: 5} required: [text] slicing: rules: open ordered: false description: Slice based on $this value discriminator: - {path: code, type: pattern} min: 1 slices: healthcare_agent: match: code: coding: - {code: 81335-2, system: 'http://loinc.org'} schema: short: Healthcare agents, healthcare agent advisors, and consent regarding their roles, powers, and limitations constraint: HCA-section-entries: {human: 'If healthcare agent section entry exists, then the HCA consent entry and HCA RelatedPerson entry must exist', source: 'http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PACPComposition', severity: error, expression: entry.exists().not() or (entry.where($this.resolve() is Consent).exists() and entry.where($this.resolve() is RelatedPerson).exists())} mustSupport: true _required: true index: 6 extensions: ClauseExtension: {url: null, index: 7} elements: extension: index: 7 slicing: slices: ClauseExtension: match: {} schema: {index: 7} title: {mustSupport: true, index: 8} code: pattern: type: CodeableConcept value: coding: - {code: 81335-2, system: 'http://loinc.org'} type: CodeableConcept index: 9 entry: type: Reference refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-HealthcareAgentConsent', 'http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-HealthcareAgentParticipant'] index: 10 emptyReason: short: This is only MS (must support) if the document types are supported. binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/pacio-adi/ValueSet/ADINoHealthcareAgentIncludedReasonVS'} index: 11 required: [code, title] gpp_for_certain_health_condition: match: code: coding: - {code: 81336-0, system: 'http://loinc.org'} schema: short: Preference care plans defined for specific situations and/or conditions index: 12 extensions: ClauseExtension: {url: null, index: 13} elements: extension: index: 13 slicing: slices: ClauseExtension: match: {} schema: {index: 13} title: {mustSupport: true, index: 14} code: pattern: type: CodeableConcept value: coding: - {code: 81336-0, system: 'http://loinc.org'} type: CodeableConcept index: 15 entry: type: Reference refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PreferenceCarePlan'] index: 16 required: [code, title] gpp_personal_care_experience: match: code: coding: - {code: 81338-6, system: 'http://loinc.org'} schema: short: Quality of Life related personal care experiences, personal goals, and priorities index: 17 extensions: ClauseExtension: {url: null, index: 18} elements: extension: index: 18 slicing: slices: ClauseExtension: match: {} schema: {index: 18} title: {mustSupport: true, index: 19} code: pattern: type: CodeableConcept value: coding: - {code: 81338-6, system: 'http://loinc.org'} type: CodeableConcept index: 20 entry: type: Reference refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-CareExperiencePreference', 'http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PersonalGoal', 'http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PersonalPrioritiesOrganizer'] index: 21 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: 22 extensions: ClauseExtension: {url: null, index: 23} elements: extension: index: 23 slicing: slices: ClauseExtension: match: {} schema: {index: 23} title: {mustSupport: true, index: 24} code: pattern: type: CodeableConcept value: coding: - {code: 81337-8, system: 'http://loinc.org'} type: CodeableConcept index: 25 entry: type: Reference 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: 26 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: 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: minimal_source_form, system: 'http://hl7.org/fhir/us/pacio-adi/CodeSystem/adi-temp-cs'} type: CodeableConcept index: 30 entry: type: Reference refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-ADIMinimalSourceFormInformation'] index: 31 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: 32 extensions: ClauseExtension: {url: null, index: 33} elements: extension: index: 33 slicing: slices: ClauseExtension: match: {} schema: {index: 33} title: {mustSupport: true, index: 34} code: pattern: type: CodeableConcept value: coding: - {code: 77599-9, system: 'http://loinc.org'} type: CodeableConcept index: 35 entry: type: Reference refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-DocumentationObservation'] index: 36 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: 37 extensions: ClauseExtension: {url: null, index: 38} elements: extension: index: 38 slicing: slices: ClauseExtension: match: {} schema: {index: 38} title: {mustSupport: true, index: 39} code: pattern: type: CodeableConcept value: coding: - {code: 81339-4, system: 'http://loinc.org'} type: CodeableConcept index: 40 entry: type: Reference refers: ['http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-Notary', 'http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-Witness'] index: 41 required: [code, title] administrative_information: match: code: coding: - {code: 81381-6, system: 'http://loinc.org'} schema: short: Administrative information associated with this personal advance care plan index: 42 extensions: ClauseExtension: {url: null, index: 43} elements: extension: index: 43 slicing: slices: ClauseExtension: match: {} schema: {index: 43} title: {mustSupport: true, index: 44} code: pattern: type: CodeableConcept value: coding: - {code: 81381-6, system: 'http://loinc.org'} type: CodeableConcept index: 45 required: [code, title] package_version: 2.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PACPComposition base: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-Composition-Header version: 2.0.0-ballot required: [attester, section]