description: null package_name: ontariomicdrfhirimplementationguide derivation: constraint name: DocumentReference type: DocumentReference elements: description: {mustSupport: true, index: 50} date: {mustSupport: true, index: 42} meta: mustSupport: true index: 0 elements: profile: {mustSupport: true, index: 1} required: [profile] docStatus: {mustSupport: true, index: 30} content: mustSupport: true index: 51 elements: attachment: mustSupport: true index: 52 elements: url: {mustSupport: true, index: 53} type: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-document-type'} 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] slicing: rules: open discriminator: - {path: system, type: value} min: 1 slices: slice-loinc-coding: match: {system: 'http://loinc.org'} schema: mustSupport: true _required: true index: 36 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} mustSupport: true index: 37 code: {mustSupport: true, index: 38} display: {mustSupport: true, index: 39} required: [display, system, code] required: [coding] author: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Organization', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Practitioner', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-PractitionerRole'] index: 43 elements: reference: {mustSupport: true, index: 44} required: [reference] custodian: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Organization'] index: 45 elements: reference: {mustSupport: true, index: 46} required: [reference] status: {mustSupport: true, index: 29} identifier: mustSupport: true index: 2 elements: type: short: Description of identifier. mustSupport: true index: 3 elements: coding: mustSupport: true index: 4 elements: system: {mustSupport: true, index: 5} code: {mustSupport: true, index: 6} display: {mustSupport: true, index: 7} required: [display, system, code] required: [coding] system: {mustSupport: true, index: 8} value: {mustSupport: true, index: 9} required: [value, type, system] slicing: rules: open discriminator: - {path: type.coding.code, type: value} - {path: system, type: value} min: 1 slices: sliceIdentifier-Accession-Number: match: type: coding: {code: ACSN} system: null schema: mustSupport: true _required: true index: 10 elements: type: mustSupport: true index: 11 elements: coding: mustSupport: true index: 12 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'} mustSupport: true index: 13 code: pattern: {type: Code, value: ACSN} mustSupport: true index: 14 display: {mustSupport: true, index: 15} required: [display, system, code] required: [coding] system: {mustSupport: true, index: 16} value: {mustSupport: true, index: 17} required: [value, type, system] sliceIdentifier-Placer-Order-Number: match: type: coding: {code: PLAC} system: null schema: mustSupport: true index: 18 elements: type: mustSupport: true index: 19 elements: coding: mustSupport: true index: 20 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'} mustSupport: true index: 21 code: pattern: {type: Code, value: PLAC} mustSupport: true index: 22 display: {mustSupport: true, index: 23} required: [display, system, code] required: [coding] system: {mustSupport: true, index: 24} value: {mustSupport: true, index: 25} required: [value, type, system] sliceIdentifier-Study-Instance-Id: match: type: coding: {code: null} system: urn:dicom:uid schema: mustSupport: true index: 26 elements: system: pattern: {type: Uri, value: 'urn:dicom:uid'} mustSupport: true index: 27 value: {mustSupport: true, index: 28} required: [value, system] relatesTo: mustSupport: true index: 47 elements: code: {mustSupport: true, index: 48} target: {mustSupport: true, index: 49} context: mustSupport: true index: 54 elements: event: mustSupport: true index: 55 extensions: ext-mi-clinical-category: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type min: 1 max: 1 type: Extension binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-category-type'} isModifier: false index: 57 elements: extension: index: 56 slicing: slices: ext-mi-clinical-category: match: {} schema: type: Extension binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-category-type'} isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 57 min: 1 max: 1 required: [extension] slicing: rules: open discriminator: - {path: extension.value.code, type: value} min: 1 slices: event-modality: match: extension: value: {code: null} schema: binding: {strength: required, valueSet: 'https://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_29.html'} mustSupport: true index: 58 extensions: ext-mi-clinical-category: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 60 elements: value: choices: [] index: 62 value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 63 code: pattern: {type: Code, value: '360037004'} index: 64 elements: extension: index: 59 slicing: slices: ext-mi-clinical-category: match: {} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 60 elements: value: choices: [] index: 62 value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 63 code: pattern: {type: Code, value: '360037004'} index: 64 coding: mustSupport: true index: 65 elements: system: pattern: {type: Uri, value: 'http://dicom.nema.org/resources/ontology/DCM'} mustSupport: true index: 66 code: {mustSupport: true, index: 67} display: {mustSupport: true, index: 68} required: [display, system, code] required: [extension, coding] event-specialty: match: extension: value: {code: null} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-specialty'} mustSupport: true index: 69 extensions: ext-mi-clinical-category: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 71 elements: value: choices: [] index: 73 value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 74 code: pattern: {type: Code, value: '394658006'} index: 75 elements: extension: index: 70 slicing: slices: ext-mi-clinical-category: match: {} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 71 elements: value: choices: [] index: 73 value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 74 code: pattern: {type: Code, value: '394658006'} index: 75 coding: mustSupport: true index: 76 elements: system: {mustSupport: true, index: 77} code: {mustSupport: true, index: 78} display: {mustSupport: true, index: 79} required: [display, system, code] required: [extension, coding] event-bodyPart: match: extension: value: {code: null} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-bodypart-sct'} mustSupport: true index: 80 extensions: ext-category-bodypart: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 82 elements: value: choices: [] index: 84 value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 85 code: pattern: {type: Code, value: '272427006'} index: 86 elements: extension: index: 81 slicing: slices: ext-category-bodypart: match: {} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 82 elements: value: choices: [] index: 84 value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 85 code: pattern: {type: Code, value: '272427006'} index: 86 coding: mustSupport: true index: 87 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} mustSupport: true index: 88 code: {mustSupport: true, index: 89} display: {mustSupport: true, index: 90} required: [display, system, code] required: [extension, coding] event-laterality: match: extension: value: {code: null} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-laterality-sct'} mustSupport: true index: 91 extensions: ext-category-laterality: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 93 elements: value: choices: [] index: 95 value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 96 code: pattern: {type: Code, value: '272741003'} index: 97 elements: extension: index: 92 slicing: slices: ext-category-laterality: match: {} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 93 elements: value: choices: [] index: 95 value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 96 code: pattern: {type: Code, value: '272741003'} index: 97 coding: mustSupport: true index: 98 elements: system: {mustSupport: true, index: 99} code: {mustSupport: true, index: 100} display: {mustSupport: true, index: 101} required: [display, system, code] required: [extension, coding] event-contrast: match: extension: value: {code: null} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-contrast-used'} mustSupport: true index: 102 extensions: ext-category-contrast: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 104 elements: value: choices: [] index: 106 value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 107 code: pattern: {type: Code, value: '263543005'} index: 108 elements: extension: index: 103 slicing: slices: ext-category-contrast: match: {} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 104 elements: value: choices: [] index: 106 value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 107 code: pattern: {type: Code, value: '263543005'} index: 108 coding: mustSupport: true index: 109 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} mustSupport: true index: 110 code: {mustSupport: true, index: 111} display: {mustSupport: true, index: 112} required: [display, system, code] required: [extension, coding] event-procedureCode: match: extension: value: {code: null} schema: mustSupport: true index: 113 extensions: slice-ext-mi-category-type: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 115 elements: value: choices: [] index: 117 value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 118 code: pattern: {type: Code, value: '276218009'} index: 119 elements: extension: index: 114 slicing: slices: slice-ext-mi-category-type: match: {} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 115 elements: value: choices: [] index: 117 value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 118 code: pattern: {type: Code, value: '276218009'} index: 119 coding: index: 120 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: slice-provincial-code: match: {system: 'http://ontariohealth.ca/fhir/CodeSystem/procedure-type-mi-provincial'} schema: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-type-provincial'} _required: true index: 121 elements: system: pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/CodeSystem/procedure-type-mi-provincial'} mustSupport: true index: 122 code: {mustSupport: true, index: 123} display: {mustSupport: true, index: 124} required: [display, system, code] slice-snomed-coding: match: {system: 'http://snomed.info/sct'} schema: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-type-sct'} _required: true index: 125 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} mustSupport: true index: 126 code: {mustSupport: true, index: 127} display: {mustSupport: true, index: 128} required: [display, system, code] required: [extension] facilityType: mustSupport: true index: 129 elements: coding: mustSupport: true index: 130 elements: system: {mustSupport: true, index: 131} code: {mustSupport: true, index: 132} display: {mustSupport: true, index: 133} required: [display, system, code] required: [coding] practiceSetting: mustSupport: true index: 134 elements: coding: mustSupport: true index: 135 elements: system: {mustSupport: true, index: 136} code: {mustSupport: true, index: 137} display: {mustSupport: true, index: 138} required: [display, system, code] required: [coding] related: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-DiagnosticReport', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-ImagingStudy', 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-ServiceRequest'] index: 139 elements: reference: {mustSupport: true, index: 140} required: [reference] required: [related, event] subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-patient'] index: 40 elements: reference: {mustSupport: true, index: 41} required: [reference] package_version: 0.10.00-0.9.10-beta class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-DocumentReference base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 1.0.0 required: [context, identifier, subject, type, meta, date, custodian]