description: null package_name: ca.on.ehr.r4 derivation: constraint name: DocumentReferenceEHR type: DocumentReference elements: description: {mustSupport: true, index: 16} category: {mustSupport: true, index: 4} date: {mustSupport: true, index: 7} docStatus: {mustSupport: true, index: 2} content: mustSupport: true index: 17 elements: attachment: mustSupport: true index: 18 elements: contentType: {mustSupport: true, index: 19} url: {mustSupport: true, index: 20} type: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/provincial-document-type'} mustSupport: true index: 3 author: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-organization', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole'] index: 8 elements: reference: {mustSupport: true, index: 9} required: [reference] custodian: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-organization'] index: 11 elements: reference: {index: 12} required: [reference] status: {mustSupport: true, index: 1} identifier: {mustSupport: true, index: 0} relatesTo: mustSupport: true index: 13 elements: code: {mustSupport: true, index: 14} target: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-documentReference'] index: 15 context: mustSupport: true index: 21 elements: encounter: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-encounter'] index: 22 elements: reference: {mustSupport: true, index: 23} required: [reference] event: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/encounter-class'} mustSupport: true index: 24 elements: coding: mustSupport: true index: 25 elements: system: {mustSupport: true, index: 26} code: {mustSupport: true, index: 27} display: {mustSupport: true, index: 28} required: [display, system, code] required: [coding] period: mustSupport: true index: 29 elements: start: {mustSupport: true, index: 30} end: {mustSupport: true, index: 31} facilityType: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/provider-organization-role-type'} mustSupport: true index: 32 elements: coding: mustSupport: true index: 33 elements: system: {mustSupport: true, index: 34} code: {mustSupport: true, index: 35} display: {mustSupport: true, index: 36} required: [display, system, code] required: [coding] practiceSetting: binding: {strength: extensible, valueSet: 'http://cihi.ca/fhir/ValueSet/aac-hospital-service'} mustSupport: true index: 37 elements: coding: mustSupport: true index: 38 elements: system: {mustSupport: true, index: 39} code: {mustSupport: true, index: 40} display: {mustSupport: true, index: 41} required: [display, system, code] required: [coding] sourcePatientInfo: type: Reference refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient'] index: 42 related: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-diagnosticReport-imaging', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-imagingStudy', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-serviceRequest'] index: 43 elements: reference: {mustSupport: true, index: 44} required: [reference] subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient'] index: 5 elements: reference: {index: 6} required: [reference] authenticator: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-organization', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole'] index: 10 package_version: 1.0.0-snapshot20 class: profile kind: resource url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-documentReference base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 1.0.0 required: [subject, type, category, custodian]