description: This profile defines a set of constraints to the FHIR DocumentReference resource for use in Ontario Patient Summaries (PS-ON). This profile is based on the DocumentReference profile from the base R4 FHIR standard. package_name: ca.on.oh.patient-summary derivation: constraint name: DocumentReferencePSON type: DocumentReference elements: date: {mustSupport: true, index: 8} meta: mustSupport: true index: 0 elements: profile: mustSupport: true pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-DocumentReference'} index: 1 required: [profile] docStatus: {mustSupport: true, index: 5} content: mustSupport: true index: 13 elements: attachment: mustSupport: true index: 14 elements: url: {mustSupport: true, index: 15} type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 60591-5, system: 'http://loinc.org'} index: 6 author: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-PractitionerRole'] index: 9 elements: reference: {mustSupport: true, index: 10} required: [reference] custodian: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-Organization'] index: 11 elements: reference: {mustSupport: true, index: 12} required: [reference] identifier: mustSupport: true index: 2 elements: system: {mustSupport: true, index: 3} value: {mustSupport: true, index: 4} required: [value, system] subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-Patient'] index: 7 package_version: 0.10.0-alpha-12 class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-DocumentReference base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 0.10.0 required: [docStatus, subject, type, meta, custodian]