description: This profile constrains US Core DocumentReference to reference, query for and retrieve Personal Advance Care Plans that exist for a patient. package_name: hl7.fhir.us.mcc.r4b derivation: constraint name: DocRefPACP type: DocumentReference elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: resource-pertainsToGoal: match: {url: null} schema: {type: Extension, short: 'The resource-pertainsToGoal relates the resource to the goal(s) that pertain to it. Whenever there is a goal associated with a health concern or problem, this extension should be present and populated in activity (event or intent) resources.', mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal', index: 1} type: index: 2 elements: coding: array: true min: 1 index: 3 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 4 code: label: Label short: Patient Personal advance care plan pattern: {type: Code, value: 81334-5} index: 5 required: [code] required: [coding] package_version: 1.0.0-ballot extensions: resource-pertainsToGoal: {url: 'http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal', type: Extension, short: 'The resource-pertainsToGoal relates the resource to the goal(s) that pertain to it. Whenever there is a goal associated with a health concern or problem, this extension should be present and populated in activity (event or intent) resources.', mustSupport: true, index: 1} class: profile kind: resource url: http://hl7.org/fhir/us/mcc/StructureDefinition/DocRefPACP base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference version: 1.0.0-ballot