description: null package_name: rs/accdr.fhir.ig.pkg derivation: constraint name: CDRComposition type: Composition elements: category: mustSupport: true index: 27 extensions: ext-LOINC-ontology-axis: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis type: Extension isModifier: false index: 29 elements: value: mustSupport: true choices: [] index: 31 value[x]: elements: system: {mustSupport: true, index: 32} code: {mustSupport: true, index: 33} display: {mustSupport: true, index: 34} elements: extension: index: 28 slicing: slices: ext-LOINC-ontology-axis: match: {} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis index: 29 elements: value: mustSupport: true choices: [] index: 31 value[x]: elements: system: {mustSupport: true, index: 32} code: {mustSupport: true, index: 33} display: {mustSupport: true, index: 34} coding: mustSupport: true index: 35 elements: system: {mustSupport: true, index: 36} code: {mustSupport: true, index: 37} display: {mustSupport: true, index: 38} required: [code, display, system] required: [coding, extension] slicing: rules: open discriminator: - {path: 'extension.value[x].code', type: value} min: null slices: sliceCategory-kind-of-document: match: extension: value[x]: {code: null} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/document-kind-of-document'} mustSupport: true index: 39 extensions: ext-LOINC-ontology-axis: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis type: Extension isModifier: false mustSupport: true index: 41 elements: value: mustSupport: true choices: [] index: 43 value[x]: elements: system: {mustSupport: true, index: 44} code: pattern: {type: code, value: 74477-1} mustSupport: true type: code index: 45 display: pattern: {type: string, value: Kind of document} mustSupport: true type: string index: 46 elements: extension: index: 40 slicing: slices: ext-LOINC-ontology-axis: match: {} schema: type: Extension isModifier: false mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis index: 41 elements: value: mustSupport: true choices: [] index: 43 value[x]: elements: system: {mustSupport: true, index: 44} code: pattern: {type: code, value: 74477-1} mustSupport: true type: code index: 45 display: pattern: {type: string, value: Kind of document} mustSupport: true type: string index: 46 coding: mustSupport: true index: 47 elements: system: {mustSupport: true, index: 48} code: {mustSupport: true, index: 49} display: {mustSupport: true, index: 50} required: [code, display, system] required: [coding, extension] sliceCategory-subject-matter-domain: match: extension: value[x]: {code: null} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/documentsubject-matter-domain'} mustSupport: true index: 51 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: mustSupport: true choices: [] index: 54 value[x]: elements: system: {mustSupport: true, index: 55} code: pattern: {type: code, value: 74480-5} mustSupport: true type: code index: 56 display: pattern: {type: string, value: Subject matter domain} mustSupport: true type: string index: 57 elements: extension: type: Extension isModifier: false mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis index: 52 slicing: slices: ext-LOINC-ontology-axis: match: {} schema: type: Extension isModifier: false mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis index: 52 elements: value: mustSupport: true choices: [] index: 54 value[x]: elements: system: {mustSupport: true, index: 55} code: pattern: {type: code, value: 74480-5} mustSupport: true type: code index: 56 display: pattern: {type: string, value: Subject matter domain} mustSupport: true type: string index: 57 coding: mustSupport: true index: 58 elements: system: {mustSupport: true, index: 59} code: {mustSupport: true, index: 60} display: {mustSupport: true, index: 61} required: [code, display, system] required: [coding] sliceCategory-type-of-service: match: extension: value[x]: {code: null} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/document-type-of-service'} mustSupport: true index: 62 extensions: ext-LOINC-ontology-axis: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis type: Extension isModifier: false mustSupport: true index: 64 elements: value: mustSupport: true choices: [] index: 66 value[x]: elements: system: {mustSupport: true, index: 67} code: pattern: {type: code, value: 74478-9} mustSupport: true type: code index: 68 display: pattern: {type: string, value: Type of Service} mustSupport: true type: string index: 69 elements: extension: index: 63 slicing: slices: ext-LOINC-ontology-axis: match: {} schema: type: Extension isModifier: false mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis index: 64 elements: value: mustSupport: true choices: [] index: 66 value[x]: elements: system: {mustSupport: true, index: 67} code: pattern: {type: code, value: 74478-9} mustSupport: true type: code index: 68 display: pattern: {type: string, value: Type of Service} mustSupport: true type: string index: 69 coding: mustSupport: true index: 70 elements: system: {mustSupport: true, index: 71} code: {mustSupport: true, index: 72} display: {mustSupport: true, index: 73} required: [code, display, system] required: [coding, extension] sliceCategory-role: match: extension: value[x]: {code: null} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/document-role'} mustSupport: true index: 74 extensions: ext-LOINC-ontology-axis: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis type: Extension isModifier: false mustSupport: true index: 76 elements: value: mustSupport: true choices: [] index: 78 value[x]: elements: system: {mustSupport: true, index: 79} code: pattern: {type: code, value: 74479-7} mustSupport: true type: code index: 80 display: pattern: {type: string, value: Role} mustSupport: true type: string index: 81 elements: extension: index: 75 slicing: slices: ext-LOINC-ontology-axis: match: {} schema: type: Extension isModifier: false mustSupport: true url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis index: 76 elements: value: mustSupport: true choices: [] index: 78 value[x]: elements: system: {mustSupport: true, index: 79} code: pattern: {type: code, value: 74479-7} mustSupport: true type: code index: 80 display: pattern: {type: string, value: Role} mustSupport: true type: string index: 81 coding: mustSupport: true index: 82 elements: system: {mustSupport: true, index: 83} code: {mustSupport: true, index: 84} display: {mustSupport: true, index: 85} required: [code, display, system] required: [coding, extension] sliceCategory-setting: match: extension: value[x]: {code: null} schema: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/document-setting'} index: 86 extensions: ext-LOINC-ontology-axis: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis type: Extension isModifier: false index: 88 elements: value: mustSupport: true choices: [] index: 90 value[x]: elements: system: {mustSupport: true, index: 91} code: pattern: {type: code, value: 74476-3} type: code index: 92 display: pattern: {type: string, value: setting} type: string index: 93 elements: extension: index: 87 slicing: slices: ext-LOINC-ontology-axis: match: {} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis index: 88 elements: value: mustSupport: true choices: [] index: 90 value[x]: elements: system: {mustSupport: true, index: 91} code: pattern: {type: code, value: 74476-3} type: code index: 92 display: pattern: {type: string, value: setting} type: string index: 93 coding: mustSupport: true index: 94 elements: system: {mustSupport: true, index: 95} code: {mustSupport: true, index: 96} display: {mustSupport: true, index: 97} required: [code, display, system] required: [coding, extension] date: {mustSupport: true, index: 101} meta: mustSupport: true index: 0 elements: lastUpdated: {mustSupport: true, index: 1} encounter: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-encounter'] index: 99 elements: reference: {mustSupport: true, index: 100} required: [reference] section: mustSupport: true index: 117 elements: id: {index: 118} code: mustSupport: true index: 119 elements: coding: mustSupport: true index: 120 elements: system: {mustSupport: true, index: 121} code: {mustSupport: true, index: 122} display: {mustSupport: true, index: 123} required: [code, display, system] required: [coding] text: {mustSupport: true, index: 124} entry: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Binary'] index: 125 elements: reference: {mustSupport: true, index: 126} required: [reference] required: [code, id] type: mustSupport: true index: 7 elements: coding: index: 8 extensions: ext-accdr-document-type: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-document-code-type', min: 1, max: 1, type: Extension, isModifier: false, index: 10} elements: extension: index: 9 slicing: slices: ext-accdr-document-type: match: {} schema: {type: Extension, isModifier: false, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-document-code-type', index: 10} min: 1 max: 1 required: [extension] slicing: rules: open discriminator: - {path: extension.value.code, type: value} min: 1 slices: slice-local-document-type: match: extension: value: {code: null} schema: binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/local-document-type'} _required: true index: 11 extensions: ext-accdr-document-type: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-document-code-type type: Extension isModifier: false index: 13 elements: value: choices: [] index: 15 value[x]: elements: code: pattern: {type: code, value: local} type: code index: 16 elements: extension: index: 12 slicing: slices: ext-accdr-document-type: match: {} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-document-code-type index: 13 elements: value: choices: [] index: 15 value[x]: elements: code: pattern: {type: code, value: local} type: code index: 16 system: {mustSupport: true, index: 17} code: {mustSupport: true, index: 18} required: [code, extension, system] slice-provincial-document-type: match: extension: value: {code: null} schema: short: Provincial document type binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/provincial-document-type'} index: 19 extensions: ext-accdr-document-type: url: http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-document-code-type type: Extension isModifier: false index: 21 elements: value: choices: [] index: 23 value[x]: elements: code: pattern: {type: code, value: provincial} type: code index: 24 elements: extension: index: 20 slicing: slices: ext-accdr-document-type: match: {} schema: type: Extension isModifier: false url: http://ontariohealth.ca/fhir/StructureDefinition/ext-accdr-document-code-type index: 21 elements: value: choices: [] index: 23 value[x]: elements: code: pattern: {type: code, value: provincial} type: code index: 24 system: {mustSupport: true, index: 25} code: {mustSupport: true, index: 26} required: [code, extension, system] required: [coding] title: {mustSupport: true, index: 104} author: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-organization', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole'] index: 102 elements: reference: {mustSupport: true, index: 103} required: [reference] extension: type: Extension url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-ext-recipient index: 2 slicing: slices: ext-Recipient: match: {} schema: {type: Extension, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-ext-recipient', index: 2} event: mustSupport: true index: 111 elements: period: mustSupport: true index: 112 elements: start: {mustSupport: true, index: 113} end: {mustSupport: true, index: 114} required: [start] detail: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-ServiceRequest'] index: 115 elements: reference: {index: 116} required: [reference] required: [period] custodian: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-organization'] index: 105 elements: reference: {mustSupport: true, index: 106} required: [reference] status: {mustSupport: true, index: 6} identifier: mustSupport: true index: 3 elements: system: {mustSupport: true, index: 4} value: {mustSupport: true, index: 5} required: [system, value] relatesTo: mustSupport: true index: 107 elements: code: {mustSupport: true, index: 108} target: mustSupport: true choices: [] index: 110 subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient'] index: 98 package_version: 0.9.24 extensions: ext-Recipient: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-ext-recipient', type: Extension, index: 2} class: profile kind: resource url: http://ontariohealth.ca/fhir/accdr/StructureDefinition/ca-on-accdr-profile-composition base: http://hl7.org/fhir/StructureDefinition/Composition version: 1.0.0 required: [custodian, identifier, section, subject]