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