description: The P-Care profile for recording a person's healthcare consent choices. package_name: ca.infoway.io.pcare derivation: constraint name: PCareConsent type: Consent elements: patient: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient'] index: 3 category: constraint: pcare-ppc-3: {human: 'Consent.category is expected to match the source CodeableConcept pattern for CA:eReC compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/consent', severity: warning, expression: 'coding.where(system = ''http://loinc.org'' and code = ''59284-0'' and display = ''Patient Consent'').exists()'} index: 2 provision: index: 8 elements: type: {index: 9} period: {index: 10} actor: elements: reference: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/organization', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner-role', 'http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 11 elements: reference: {index: 12} action: constraint: pcare-ppc-4: {human: 'Consent.provision.action is expected to match the source CodeableConcept pattern for CA:eReC compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/consent', severity: warning, expression: 'coding.where(system = ''http://terminology.hl7.org/CodeSystem/consentaction'' and code = ''disclose'').exists()'} index: 13 organization: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/organization'] index: 6 scope: constraint: pcare-ppc-2: {human: 'Consent.scope is expected to match the source CodeableConcept pattern for CA:eReC compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/consent', severity: warning, expression: 'coding.where(system = ''http://terminology.hl7.org/CodeSystem/consentscope'' and code = ''patient-privacy'' and display = ''Privacy Consent'').exists()'} index: 1 dateTime: {index: 4} status: constraint: pcare-ppc-1: {human: 'Consent.status is expected to equal ''active'' for ON:eReC compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/consent', severity: warning, expression: $this = 'active'} index: 0 policyRule: {index: 7} performer: type: Reference refers: ['http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/organization', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner', 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/practitioner-role', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 5 package_version: 0.1.0-dft-preballot class: profile kind: resource url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/consent base: http://hl7.org/fhir/StructureDefinition/Consent version: 0.1.0 required: [provision]