description: Composition as a template for pathology report as a FHIR-Document package_name: de.medizininformatikinitiative.kerndatensatz.patho derivation: constraint name: MII_PR_Patho_Composition type: Composition elements: category: elements: coding: binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-patho/ValueSet/mii-vs-patho-report-category-hl7'} mustSupport: true index: 8 slicing: slices: HL7-patho: match: {} schema: binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-patho/ValueSet/mii-vs-patho-report-category-hl7'} mustSupport: true index: 8 min: 0 max: 1 meta: elements: lastUpdated: {mustSupport: true, index: 0} profile: {mustSupport: true, index: 1} encounter: {index: 9} section: index: 27 elements: code: mustSupport: true index: 28 elements: coding: binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-patho/ValueSet/mii-vs-patho-all-loinc'} mustSupport: true index: 29 required: [coding] entry: {mustSupport: true, index: 30} required: [entry, code] slicing: rules: open discriminator: - {path: $this.code.coding, type: pattern} min: null slices: patho-diagnostic-report: match: $this: code: {coding: null} schema: mustSupport: true array: true min: 1 _required: true index: 31 elements: code: elements: coding: pattern: type: Coding value: {code: 60567-5, system: 'http://loinc.org'} index: 32 entry: type: Reference refers: ['https://www.medizininformatik-initiative.de/fhir/ext/modul-patho/StructureDefinition/mii-pr-patho-report'] index: 33 attester: mustSupport: true index: 11 slicing: rules: open ordered: false discriminator: - {path: $this.mode, type: value} min: 1 slices: legal: match: $this: {mode: null} schema: mustSupport: true array: true min: 1 _required: true index: 12 elements: mode: pattern: {type: Code, value: legal} index: 13 party: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Practitioner'] index: 14 required: [party] content-validator: match: $this: {mode: null} schema: mustSupport: true array: true index: 15 elements: mode: pattern: {type: Code, value: professional} index: 16 party: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Practitioner'] index: 17 required: [party] type: elements: coding: binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-patho/ValueSet/mii-vs-patho-composition-type-loinc'} mustSupport: true pattern: type: Coding value: {system: 'http://loinc.org'} array: true min: 1 index: 5 slicing: slices: LOINC-patho: match: {} schema: min: 1 index: 5 mustSupport: true array: true elements: system: {mustSupport: true, index: 6} code: {mustSupport: true, index: 7} _required: true binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-patho/ValueSet/mii-vs-patho-composition-type-loinc'} required: [system, code] pattern: type: Coding value: {system: 'http://loinc.org'} required: [coding] author: type: Reference short: Author can only be of type Practitioner or Organization refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'https://gematik.de/fhir/isik/v2/Basismodul/StructureDefinition/ISiKPersonImGesundheitsberuf'] index: 10 extension: type: Extension mustSupport: true url: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber index: 2 slicing: slices: document-version: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber', index: 2} min: 0 max: 1 event: {mustSupport: true, index: 26} custodian: {mustSupport: true, index: 18} identifier: elements: type: mustSupport: true index: 3 elements: coding: pattern: type: Coding value: {code: ACSN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Accession ID} index: 4 required: [type] relatesTo: mustSupport: true index: 19 elements: code: {mustSupport: true, index: 20} target: choices: [] index: 22 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: targetReference: match: {} schema: mustSupport: true choices: [targetReference] index: 24 min: 0 max: 1 targetReference: refers: ['http://hl7.org/fhir/StructureDefinition/Composition'] type: Reference mustSupport: true choiceOf: target index: 25 slicing: slices: targetReference: match: {} schema: refers: ['http://hl7.org/fhir/StructureDefinition/Composition'] type: Reference mustSupport: true choiceOf: target index: 25 min: 0 max: 1 package_version: 1.0.0 extensions: document-version: {url: 'http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber', min: 0, max: 1, type: Extension, mustSupport: true, index: 2} class: profile kind: resource url: https://www.medizininformatik-initiative.de/fhir/ext/modul-patho/StructureDefinition/mii-pr-patho-composition base: https://gematik.de/fhir/isik/v2/Basismodul/StructureDefinition/ISiKBerichtSubSysteme version: 1.0.0 required: [encounter, event, attester, custodian]