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: {mustSupport: true, index: 15} context: mustSupport: true index: 21 elements: encounter: mustSupport: true index: 22 elements: reference: {mustSupport: true, index: 23} required: [reference] event: 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: elements: start: {mustSupport: true, index: 29} end: {mustSupport: true, index: 30} facilityType: mustSupport: true index: 31 elements: coding: mustSupport: true index: 32 elements: system: {mustSupport: true, index: 33} code: {mustSupport: true, index: 34} display: {mustSupport: true, index: 35} required: [display, system, code] required: [coding] practiceSetting: mustSupport: true index: 36 elements: coding: mustSupport: true index: 37 elements: system: {mustSupport: true, index: 38} code: {mustSupport: true, index: 39} display: {mustSupport: true, index: 40} required: [display, system, code] required: [coding] sourcePatientInfo: type: Reference refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient'] index: 41 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: 42 elements: reference: {mustSupport: true, index: 43} 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-snapshot17 class: profile kind: resource url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/DocumentReference base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: '0.1' required: [subject, type, category, custodian]