description: null package_name: ca.on.ehr.r4 derivation: constraint name: DocumentReferenceEHR type: DocumentReference elements: description: {mustSupport: true, index: 19} category: {mustSupport: true, index: 4} date: {mustSupport: true, index: 7} docStatus: {mustSupport: true, index: 2} content: mustSupport: true index: 20 elements: attachment: mustSupport: true index: 21 elements: contentType: {mustSupport: true, index: 22} url: {mustSupport: true, index: 23} type: binding: {strength: preferred, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/document-reference-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: {mustSupport: true, index: 12} identifier: mustSupport: true index: 13 elements: system: {mustSupport: true, index: 14} value: {mustSupport: true, index: 15} required: [value, system] status: {mustSupport: true, index: 1} identifier: {mustSupport: true, index: 0} relatesTo: mustSupport: true index: 16 elements: code: {mustSupport: true, index: 17} target: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-documentReference'] index: 18 context: mustSupport: true index: 24 elements: encounter: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-encounter'] index: 25 elements: reference: {mustSupport: true, index: 26} required: [reference] event: mustSupport: true index: 27 elements: coding: mustSupport: true index: 28 elements: system: {mustSupport: true, index: 29} code: {mustSupport: true, index: 30} display: {mustSupport: true, index: 31} required: [display, system, code] required: [coding] period: mustSupport: true index: 32 elements: start: {mustSupport: true, index: 33} end: {mustSupport: true, index: 34} facilityType: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/provider-organization-role-type'} mustSupport: true index: 35 elements: coding: mustSupport: true index: 36 elements: system: {mustSupport: true, index: 37} code: {mustSupport: true, index: 38} display: {mustSupport: true, index: 39} required: [display, system, code] required: [coding] practiceSetting: binding: {strength: preferred, valueSet: 'http://cihi.ca/fhir/ValueSet/aac-hospital-service'} mustSupport: true index: 40 elements: coding: mustSupport: true index: 41 elements: system: {mustSupport: true, index: 42} code: {mustSupport: true, index: 43} display: {mustSupport: true, index: 44} required: [display, system, code] required: [coding] sourcePatientInfo: type: Reference refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient'] index: 45 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: 46 elements: reference: {mustSupport: true, index: 47} 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.1.0 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, custodian]