description: null package_name: ontariomicdrfhirimplementationguide derivation: constraint name: MiCdrDocumentReference type: DocumentReference elements: description: {mustSupport: true, index: 48} date: {mustSupport: true, index: 42} meta: mustSupport: true index: 0 elements: profile: {mustSupport: true, index: 1} required: [profile] docStatus: {mustSupport: true, index: 35} 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: 36 elements: coding: mustSupport: true index: 37 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} mustSupport: true index: 38 code: {mustSupport: true, index: 39} display: {mustSupport: true, index: 40} 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 custodian: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-Organization'] index: 44 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: 45 elements: code: {mustSupport: true, index: 46} target: {mustSupport: true, index: 47} context: mustSupport: true index: 52 elements: encounter: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-encounter'] index: 53 event: mustSupport: true index: 54 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: 56 elements: extension: index: 55 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: 56 min: 1 max: 1 required: [extension] slicing: rules: open discriminator: - {path: 'extension.value[x].code', type: value} min: 1 slices: event-modality: match: extension: value[x]: {code: null} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-modality'} mustSupport: true index: 57 extensions: ext-imaging-modality: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 59 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 60 code: pattern: {type: Code, value: '360037004'} index: 61 elements: extension: index: 58 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-imaging-modality: match: {url: null} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 59 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 60 code: pattern: {type: Code, value: '360037004'} index: 61 required: [extension] event-specialty: match: extension: value[x]: {code: null} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-specialty'} mustSupport: true index: 62 extensions: ext-category-specialty: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 64 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 65 code: pattern: {type: Code, value: '394658006'} index: 66 elements: extension: index: 63 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-category-specialty: match: {url: null} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 64 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 65 code: pattern: {type: Code, value: '394658006'} index: 66 required: [extension] event-bodyPart: match: extension: value[x]: {code: null} schema: binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/servicerequest-category'} mustSupport: true index: 67 extensions: ext-category-bodypart: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 69 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 70 code: pattern: {type: Code, value: '272427006'} index: 71 elements: extension: index: 68 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: 69 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 70 code: pattern: {type: Code, value: '272427006'} index: 71 required: [extension] event-laterality: match: extension: value[x]: {code: null} schema: binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/servicerequest-category'} mustSupport: true index: 72 extensions: ext-category-laterality: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 74 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 75 code: pattern: {type: Code, value: '272741003'} index: 76 elements: extension: index: 73 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: 74 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 75 code: pattern: {type: Code, value: '272741003'} index: 76 required: [extension] event-contrast: match: extension: value[x]: {code: null} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mi-procedure-contrast-used'} mustSupport: true index: 77 extensions: ext-category-contrast: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 79 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 80 elements: extension: index: 78 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: 79 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 80 required: [extension] event-procedureCode: match: extension: value[x]: {code: null} schema: mustSupport: true index: 81 extensions: slice-procedure-code: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type type: Extension isModifier: false index: 83 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 84 code: pattern: {type: Code, value: '276218009'} index: 85 elements: extension: index: 82 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: slice-procedure-code: match: {url: null} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-category-type index: 83 elements: value[x]: elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 84 code: pattern: {type: Code, value: '276218009'} index: 85 coding: extensions: ext-mi-code-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', min: 1, max: 1, type: Extension, isModifier: false, index: 87} elements: extension: index: 86 slicing: rules: open discriminator: - {path: url, type: value} min: 1 slices: ext-mi-code-type: match: {url: null} schema: {type: Extension, isModifier: false, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-mi-code-type', index: 87} min: 1 max: 1 required: [extension] required: [extension] facilityType: {mustSupport: true, index: 88} practiceSetting: {mustSupport: true, index: 89} 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: 90 elements: reference: {mustSupport: true, index: 91} required: [reference] required: [related, event] subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mi-profile-patient'] index: 41 package_version: 0.10.00-0.9.4-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.1.0 required: [docStatus, context, identifier, subject, type, meta, date, custodian]