description: This profile sets minimum expectations for the Composition resource for commonly used EHDS documents. package_name: hl7.fhir.eu.base derivation: constraint name: CompositionEuCore type: Composition elements: category: short: Document Category index: 10 slicing: rules: open ordered: false discriminator: - {path: $this, type: value} min: null slices: ehds-category: match: {} schema: short: EHDS Priority Category binding: {strength: required, valueSet: 'http://hl7.eu/fhir/base/ValueSet/ehdsCategories-eu'} array: true index: 11 min: 0 section: extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 26} elements: extension: index: 25 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: section-note: match: {url: null} schema: {type: Extension, short: Additional notes that apply to the section (but not to specific resource)., url: 'http://hl7.org/fhir/StructureDefinition/note', index: 26} min: 0 title: {index: 27} code: {index: 28} text: {index: 29} emptyReason: {short: Empty reason, index: 30} required: [text, title, code] attester: index: 14 elements: party: type: Reference refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 15 slicing: rules: open ordered: false discriminator: - {path: mode, type: value} min: null slices: legalAuthenticator: match: {mode: legal} schema: array: true index: 16 elements: mode: pattern: {type: Code, value: legal} index: 17 time: {index: 18} party: type: Reference refers: ['http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core'] index: 19 required: [time] resultValidator: match: {mode: professional} schema: array: true index: 20 elements: mode: pattern: {type: Code, value: professional} index: 21 time: {index: 22} party: type: Reference refers: ['http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core'] index: 23 required: [time] type: {short: Type of document/report (e.g. imaging report LOINC), index: 9} author: type: Reference refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 13 extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: version: match: {url: null} schema: type: Extension url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version index: 1 extensions: {} elements: extension: {index: 2} informationRecipient: match: {url: null} schema: type: Extension url: http://hl7.eu/fhir/StructureDefinition/information-recipient index: 3 elements: value: choices: [valueReference] index: 5 valueReference: type: Reference choiceOf: value refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 6 diagnosticReport: match: {url: null} schema: {type: Extension, url: 'http://hl7.eu/fhir/extensions/StructureDefinition/composition-diagnosticReportReference', index: 7} min: 0 max: 1 custodian: type: Reference refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core'] index: 24 identifier: {short: Report identifier, index: 8} subject: type: Reference refers: ['http://hl7.eu/fhir/base/StructureDefinition/location-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group'] index: 12 package_version: 2.0.0-ballot extensions: version: url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version type: Extension index: 1 extensions: {} elements: extension: {index: 2} informationRecipient: url: http://hl7.eu/fhir/StructureDefinition/information-recipient type: Extension index: 3 elements: value: choices: [valueReference] index: 5 valueReference: type: Reference choiceOf: value refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 6 diagnosticReport: {url: 'http://hl7.eu/fhir/extensions/StructureDefinition/composition-diagnosticReportReference', min: 0, max: 1, type: Extension, index: 7} class: profile kind: resource url: http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core base: http://hl7.org/fhir/StructureDefinition/Composition version: 2.0.0-ballot required: [identifier, subject]