description: null package_name: ontariomicdrfhirimplementationguide derivation: constraint name: MiCdrDocumentReference type: DocumentReference elements: description: {mustSupport: true, index: 55} date: {mustSupport: true, index: 47} meta: mustSupport: true index: 0 elements: profile: {mustSupport: true, index: 1} required: [profile] docStatus: {mustSupport: true, index: 35} content: mustSupport: true index: 56 elements: attachment: mustSupport: true index: 57 elements: url: {mustSupport: true, index: 58} type: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-document-type'} 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] 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: 41 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} mustSupport: true index: 42 code: {mustSupport: true, index: 43} display: {mustSupport: true, index: 44} 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: 48 elements: reference: {mustSupport: true, index: 49} required: [reference] custodian: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Organization'] index: 50 elements: reference: {mustSupport: true, index: 51} required: [reference] status: {mustSupport: true, index: 34} identifier: mustSupport: true index: 2 elements: type: short: Description of identifier. mustSupport: true index: 3 elements: coding: mustSupport: true index: 4 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'} mustSupport: true index: 5 code: pattern: {type: Code, value: ACSN} mustSupport: true index: 6 display: pattern: {type: String, value: Accession ID} 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} min: 1 slices: sliceIdentifier-Accession-Number: match: type: coding: {code: ACSN} 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} 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: SUID} schema: mustSupport: true index: 26 elements: type: mustSupport: true index: 27 elements: coding: mustSupport: true index: 28 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'} mustSupport: true index: 29 code: pattern: {type: Code, value: SUID} mustSupport: true index: 30 display: {mustSupport: true, index: 31} required: [display, system, code] required: [coding] system: {mustSupport: true, index: 32} value: {mustSupport: true, index: 33} required: [value, type, system] relatesTo: mustSupport: true index: 52 elements: code: {mustSupport: true, index: 53} target: {mustSupport: true, index: 54} context: mustSupport: true index: 59 elements: encounter: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-encounter'] index: 60 event: mustSupport: true index: 61 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: 63 elements: extension: index: 62 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-mi-clinical-category: match: {url: null} 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: 63 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_33.html'} mustSupport: true index: 64 extensions: ext-mi-clinical-category: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 66 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 67 code: pattern: {type: Code, value: '360037004'} index: 68 elements: extension: index: 65 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-mi-clinical-category: match: {url: null} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 66 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 67 code: pattern: {type: Code, value: '360037004'} index: 68 coding: mustSupport: true index: 69 elements: system: {mustSupport: true, index: 70} code: {mustSupport: true, index: 71} display: {mustSupport: true, index: 72} 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: 73 extensions: ext-mi-clinical-category: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 75 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 76 code: pattern: {type: Code, value: '394658006'} index: 77 elements: extension: index: 74 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-mi-clinical-category: match: {url: null} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 75 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 76 code: pattern: {type: Code, value: '394658006'} index: 77 coding: mustSupport: true index: 78 elements: system: {mustSupport: true, index: 79} code: {mustSupport: true, index: 80} display: {mustSupport: true, index: 81} 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: 82 extensions: ext-category-bodypart: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 84 elements: 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: 83 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-category-bodypart: match: {url: null} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 84 elements: 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://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_244.html'} 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[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 94 code: pattern: {type: Code, value: '272741003'} index: 95 elements: extension: index: 92 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-category-laterality: match: {url: null} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 93 elements: 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[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 103 code: pattern: {type: Code, value: '263543005'} index: 104 elements: extension: index: 101 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-category-contrast: match: {url: null} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 102 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 103 code: pattern: {type: Code, value: '263543005'} index: 104 coding: mustSupport: true index: 105 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} mustSupport: true index: 106 code: {mustSupport: true, index: 107} display: {mustSupport: true, index: 108} required: [display, system, code] required: [extension, coding] event-procedureCode: match: extension: value: {code: null} schema: mustSupport: true index: 109 extensions: slice-ext-mi-category-type: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 111 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 112 code: pattern: {type: Code, value: '276218009'} index: 113 elements: extension: index: 110 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: slice-ext-mi-category-type: match: {url: null} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 111 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 112 code: pattern: {type: Code, value: '276218009'} index: 113 coding: index: 114 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: _required: true index: 115 elements: system: pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/CodeSystem/procedure-type-mi-provincial'} mustSupport: true index: 116 code: {mustSupport: true, index: 117} display: {mustSupport: true, index: 118} required: [display, system, code] slice-snomed-coding: match: {system: 'http://snomed.info/sct'} schema: _required: true index: 119 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} mustSupport: true index: 120 code: {mustSupport: true, index: 121} display: {mustSupport: true, index: 122} required: [display, system, code] required: [extension] facilityType: mustSupport: true index: 123 elements: coding: mustSupport: true index: 124 elements: system: {mustSupport: true, index: 125} code: {mustSupport: true, index: 126} display: {mustSupport: true, index: 127} required: [display, system, code] required: [coding] practiceSetting: mustSupport: true index: 128 elements: coding: mustSupport: true index: 129 elements: system: {mustSupport: true, index: 130} code: {mustSupport: true, index: 131} display: {mustSupport: true, index: 132} 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: 133 elements: reference: {mustSupport: true, index: 134} required: [reference] required: [related, event] subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-patient'] index: 45 elements: reference: {mustSupport: true, index: 46} required: [reference] package_version: 0.10.00-0.9.5-beta class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-DocumentReference base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 0.9.0 required: [context, identifier, subject, type, meta, date, custodian]