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: category: mustSupport: true index: 7 extensions: ext-LOINC-ontology-axis: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', min: 0, max: 1, type: Extension, isModifier: false, mustSupport: true, index: 9} elements: extension: index: 8 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: ext-LOINC-ontology-axis: match: {url: null} schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis', index: 9} min: 0 max: 1 coding: mustSupport: true index: 10 elements: system: {mustSupport: true, index: 11} code: {mustSupport: true, index: 12} display: {mustSupport: true, index: 13} slicing: rules: open discriminator: - {path: $this, type: pattern} min: null slices: sliceCategory-type-of-service: match: {} schema: mustSupport: true index: 14 extensions: ext-LOINC-ontology-axis: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis type: Extension isModifier: false mustSupport: true index: 16 elements: value[x]: elements: code: pattern: {type: Code, value: 74478-9} index: 17 display: {label: Type of Service, index: 18} elements: extension: index: 15 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-LOINC-ontology-axis: match: {url: null} schema: type: Extension isModifier: false mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis index: 16 elements: value[x]: elements: code: pattern: {type: Code, value: 74478-9} index: 17 display: {label: Type of Service, index: 18} coding: mustSupport: true index: 19 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} mustSupport: true index: 20 code: {mustSupport: true, index: 21} display: pattern: {type: String, value: Patient summary} mustSupport: true index: 22 required: [display, system, code] required: [extension, coding] sliceCategory-kind-of-document: match: {} schema: mustSupport: true index: 23 extensions: ext-LOINC-ontology-axis: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis type: Extension isModifier: false mustSupport: true index: 25 elements: value[x]: elements: code: pattern: {type: Code, value: 74477-1} index: 26 display: pattern: {type: String, value: Kind of document} index: 27 elements: extension: index: 24 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-LOINC-ontology-axis: match: {url: null} schema: type: Extension isModifier: false mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis index: 25 elements: value[x]: elements: code: pattern: {type: Code, value: 74477-1} index: 26 display: pattern: {type: String, value: Kind of document} index: 27 coding: mustSupport: true index: 28 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} mustSupport: true index: 29 code: pattern: {type: Code, value: LP173418-7} mustSupport: true index: 30 display: pattern: {type: String, value: Note} mustSupport: true index: 31 required: [display, system, code] required: [extension, coding] sliceCategory-subject-matter-domain: match: {} schema: mustSupport: true index: 32 extensions: ext-LOINC-ontology-axis: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis type: Extension isModifier: false mustSupport: true index: 34 elements: value[x]: elements: code: pattern: {type: Code, value: 74480-5} index: 35 display: pattern: {type: String, value: Subject matter domain} index: 36 elements: extension: index: 33 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-LOINC-ontology-axis: match: {url: null} schema: type: Extension isModifier: false mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis index: 34 elements: value[x]: elements: code: pattern: {type: Code, value: 74480-5} index: 35 display: pattern: {type: String, value: Subject matter domain} index: 36 coding: mustSupport: true index: 37 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} mustSupport: true index: 38 code: pattern: {type: Code, value: CGTA1009-1} mustSupport: true index: 39 display: pattern: {type: String, value: Unspecified} mustSupport: true index: 40 required: [display, system, code] required: [extension, coding] sliceCategory-role: match: {} schema: mustSupport: true index: 41 extensions: ext-LOINC-ontology-axis: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis type: Extension isModifier: false mustSupport: true index: 43 elements: value[x]: elements: code: pattern: {type: Code, value: 74479-7} index: 44 display: pattern: {type: String, value: Role} index: 45 elements: extension: index: 42 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-LOINC-ontology-axis: match: {url: null} schema: type: Extension isModifier: false mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis index: 43 elements: value[x]: elements: code: pattern: {type: Code, value: 74479-7} index: 44 display: pattern: {type: String, value: Role} index: 45 coding: mustSupport: true index: 46 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} mustSupport: true index: 47 code: pattern: {type: Code, value: CGTA4001-1} mustSupport: true index: 48 display: pattern: {type: String, value: Unspecified} index: 49 required: [display, system, code] required: [extension, coding] sliceCategory-setting: match: {} schema: mustSupport: true index: 50 extensions: ext-LOINC-ontology-axis: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis type: Extension isModifier: false mustSupport: true index: 52 elements: value[x]: elements: code: pattern: {type: Code, value: 74476-3} index: 53 display: pattern: {type: String, value: Setting} index: 54 elements: extension: index: 51 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-LOINC-ontology-axis: match: {url: null} schema: type: Extension isModifier: false mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis index: 52 elements: value[x]: elements: code: pattern: {type: Code, value: 74476-3} index: 53 display: pattern: {type: String, value: Setting} index: 54 coding: mustSupport: true index: 55 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} mustSupport: true index: 56 code: pattern: {type: Code, value: CGTA5001-1} mustSupport: true index: 57 display: pattern: {type: String, value: Unspecified} mustSupport: true index: 58 required: [display, system, code] required: [extension, coding] date: {mustSupport: true, index: 60} 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: 65 elements: attachment: mustSupport: true index: 66 elements: url: {mustSupport: true, index: 67} 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: 61 elements: reference: {mustSupport: true, index: 62} required: [reference] custodian: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-Organization'] index: 63 elements: reference: {mustSupport: true, index: 64} 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: 59 package_version: 0.11.0 class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-DocumentReference base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 0.11.0 required: [docStatus, subject, type, meta, custodian]