description: This profile defines how the Composition resource is used to represent a European Patient Summary. package_name: hl7.fhir.eu.eps derivation: constraint name: CompositionEuEps type: Composition elements: date: {short: PS date, index: 8} meta: elements: profile: {index: 0} section: short: Sections composing the IPS array: true min: 5 index: 19 elements: title: {index: 20} code: {type: CodeableConcept, index: 21} text: {index: 22} section: {index: 23} slicing: rules: open ordered: false discriminator: - {path: code, type: value} min: 5 slices: sectionProblems: match: code: coding: - {code: 11450-4, system: 'http://loinc.org'} schema: constraint: ips-comp-1: {human: Either section.entry or emptyReason are present, source: 'http://hl7.eu/fhir/eps/StructureDefinition/composition-eu-eps', severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: EPS Problems Section _required: true index: 24 elements: code: pattern: type: CodeableConcept value: coding: - {code: 11450-4, system: 'http://loinc.org'} index: 25 entry: type: Reference short: Clinical problems or conditions currently being monitored for the patient. refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 26 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: problem: match: {} schema: refers: ['http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core'] type: Reference array: true index: 27 min: 0 emptyReason: {index: 28} sectionPatientStory: match: code: coding: - {code: 81338-6, system: 'http://loinc.org'} schema: short: EPS Patient Story Section index: 75 elements: code: pattern: type: CodeableConcept value: coding: - {code: 81338-6, system: 'http://loinc.org'} index: 76 entry: {short: Patient Story resources., index: 77} sectionProceduresHx: match: code: coding: - {code: 47519-4, system: 'http://loinc.org'} schema: short: EPS History of Procedures Section _required: true index: 48 elements: code: pattern: type: CodeableConcept value: coding: - {code: 47519-4, system: 'http://loinc.org'} index: 49 entry: type: Reference short: Slice on procedure refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Procedure'] index: 50 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: procedure: match: {} schema: short: Patient past procedures pertinent to the scope of this document. refers: ['http://hl7.eu/fhir/eps/StructureDefinition/procedure-eu-eps'] type: Reference array: true index: 51 min: 0 sectionPlanOfCare: match: code: coding: - {code: 18776-5, system: 'http://loinc.org'} schema: short: EPS Plan of Care Section index: 78 elements: code: pattern: type: CodeableConcept value: coding: - {code: 18776-5, system: 'http://loinc.org'} index: 79 entry: type: Reference short: Optional entry used to represent structured care plans refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation'] index: 80 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: carePlan: match: {} schema: type: Reference short: Optional slice used to represent care plans refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan'] array: true index: 81 min: 0 immunizationRecommendation: match: {} schema: short: Optional slice used to represent immunization recommendations refers: ['http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation'] type: Reference array: true index: 82 min: 0 sectionMedicalDevices: match: code: coding: - {code: 46264-8, system: 'http://loinc.org'} schema: short: EPS Medical Devices Section _required: true index: 52 elements: code: pattern: type: CodeableConcept value: coding: - {code: 46264-8, system: 'http://loinc.org'} index: 53 entry: type: Reference short: EPS Medical Device entry refers: ['http://hl7.org/fhir/StructureDefinition/DeviceUseStatement', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 54 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: deviceStatement: match: {} schema: short: Patient history of medical device use refers: ['http://hl7.eu/fhir/eps/StructureDefinition/deviceUseStatement-eu-eps'] type: Reference array: true index: 55 min: 0 sectionTravelHx: match: code: coding: - {code: 10182-4, system: 'http://loinc.org'} schema: short: EPS Travel History Section index: 92 elements: code: pattern: type: CodeableConcept value: coding: - {code: 10182-4, system: 'http://loinc.org'} index: 93 entry: type: Reference short: Travel history observation refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation'] index: 94 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: travelObservation: match: {} schema: type: Reference refers: ['http://hl7.eu/fhir/eps/StructureDefinition/observation-travel-eu-eps'] array: true index: 95 min: 0 sectionSocialHistory: match: code: coding: - {code: 29762-2, system: 'http://loinc.org'} schema: short: EPS Social History Section index: 83 elements: code: pattern: type: CodeableConcept value: coding: - {code: 29762-2, system: 'http://loinc.org'} index: 84 entry: type: Reference short: Health related "lifestyle factors" or "lifestyle observations" (e.g. smoke habits; alcohol consumption; diets, risky habits.) refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation'] index: 85 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: profile} min: null slices: smokingTobaccoUse: match: {} schema: short: Smoke habits refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-tobaccouse-uv-ips'] type: Reference array: true index: 86 min: 0 alcoholUse: match: {} schema: short: Alcohol consumption refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-alcoholuse-uv-ips'] type: Reference array: true index: 87 min: 0 sectionPatientHx: match: code: coding: - {code: 11329-0, system: 'http://loinc.org'} schema: short: EPS Patient History Section index: 96 elements: code: pattern: type: CodeableConcept value: coding: - {code: 11329-0, system: 'http://loinc.org'} index: 97 sectionFunctionalStatus: match: code: coding: - {code: 47420-5, system: 'http://loinc.org'} schema: short: EPS Functional Status index: 64 elements: code: pattern: type: CodeableConcept value: coding: - {code: 47420-5, system: 'http://loinc.org'} index: 65 entry: type: Reference short: Optional entry used to represent disabilities and functional assessments refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression', 'http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 66 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: disability: match: {} schema: type: Reference short: Optional slice used to represent disabilities refers: ['http://hl7.eu/fhir/base/StructureDefinition/condition-eu-core'] array: true index: 67 min: 0 functionalAssessment: match: {} schema: type: Reference short: Optional slice used to represent functional assessments refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression'] array: true index: 68 min: 0 sectionAllergies: match: code: coding: - {code: 48765-2, system: 'http://loinc.org'} schema: constraint: ips-comp-1: {human: Either section.entry or emptyReason are present, source: 'http://hl7.eu/fhir/eps/StructureDefinition/composition-eu-eps', severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: EPS Allergies and Intolerances Section _required: true index: 29 elements: code: pattern: type: CodeableConcept value: coding: - {code: 48765-2, system: 'http://loinc.org'} index: 30 entry: type: Reference short: allergyOrIntolerance refers: ['http://hl7.org/fhir/StructureDefinition/AllergyIntolerance', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 31 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: allergyOrIntolerance: match: {} schema: short: Relevant allergies or intolerances for that patient. refers: ['http://hl7.eu/fhir/base/StructureDefinition/allergyIntolerance-eu-core'] type: Reference array: true index: 32 min: 0 emptyReason: {index: 33} sectionPregnancyHx: match: code: coding: - {code: 10162-6, system: 'http://loinc.org'} schema: short: EPS History of Pregnancy Section index: 69 elements: code: pattern: type: CodeableConcept value: coding: - {code: 10162-6, system: 'http://loinc.org'} index: 70 entry: short: Current pregnancy status and, optionally, information about the outcome of earlier pregnancies index: 71 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: profile} min: null slices: pregnancyStatus: match: {} schema: short: Current pregnancy status refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-status-uv-ips'] type: Reference array: true index: 72 min: 0 pregnancyOutcome: match: {} schema: short: Information about the outcome of earlier pregnancies refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-outcome-uv-ips'] type: Reference array: true index: 73 min: 0 gestationalAge: match: {} schema: short: Information about the gestational age of the pregnancy refers: ['http://hl7.eu/fhir/eps/StructureDefinition/observation-pregnancy-gestationalAge-eu-eps'] type: Reference array: true index: 74 min: 0 sectionAdvanceDirectives: match: code: coding: - {code: 42348-3, system: 'http://loinc.org'} schema: short: EPS Advance Directives Section index: 56 elements: code: pattern: type: CodeableConcept value: coding: - {code: 42348-3, system: 'http://loinc.org'} index: 57 entry: type: Reference short: Advance directives refers: ['http://hl7.org/fhir/StructureDefinition/Consent', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 58 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: advanceDirectivesConsent: match: {} schema: short: Narrative description of the patient's advance directive. refers: ['http://hl7.eu/fhir/eps/StructureDefinition/consent-eu-eps'] type: Reference array: true index: 59 min: 0 sectionAlert: match: code: coding: - {code: 104605-1, system: 'http://loinc.org'} schema: short: EPS Alerts Section index: 60 elements: code: pattern: type: CodeableConcept value: coding: - {code: 104605-1, system: 'http://loinc.org'} index: 61 entry: type: Reference short: EPS Alerts entry refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Flag'] index: 62 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: flag: match: {} schema: short: Alert information refers: ['http://hl7.eu/fhir/base/StructureDefinition/flag-patient-eu-core'] type: Reference array: true index: 63 min: 0 sectionVitalSigns: match: code: coding: - {code: 8716-3, system: 'http://loinc.org'} schema: short: EPS Vital Signs Section index: 88 elements: code: pattern: type: CodeableConcept value: coding: - {code: 8716-3, system: 'http://loinc.org'} index: 89 entry: type: Reference short: Vital Signs refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation'] index: 90 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: vitalSign: match: {} schema: type: Reference short: Notable vital signs or physical findings. refers: ['http://hl7.org/fhir/StructureDefinition/vitalsigns'] array: true index: 91 min: 0 sectionImmunizations: match: code: coding: - {code: 11369-6, system: 'http://loinc.org'} schema: short: EPS Immunizations Section index: 39 elements: code: pattern: type: CodeableConcept value: coding: - {code: 11369-6, system: 'http://loinc.org'} index: 40 entry: type: Reference short: Patient's immunization status and pertinent history. refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Immunization'] index: 41 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: immunization: match: {} schema: type: Reference refers: ['http://hl7.eu/fhir/base/StructureDefinition/immunization-eu-core'] array: true index: 42 min: 0 sectionResults: match: code: coding: - {code: 30954-2, system: 'http://loinc.org'} schema: short: EPS Results Section index: 43 elements: code: pattern: type: CodeableConcept value: coding: - {code: 30954-2, system: 'http://loinc.org'} index: 44 entry: type: Reference short: EPS Results entry refers: ['http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation'] index: 45 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: results-medicalTestResult: match: {} schema: short: Medical test results refers: ['http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core'] type: Reference array: true index: 46 min: 0 results-diagnosticReport: match: {} schema: short: EPS DiagnosticReport refers: ['http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps'] type: Reference array: true index: 47 min: 0 sectionMedications: match: code: coding: - {code: 10160-0, system: 'http://loinc.org'} schema: constraint: ips-comp-1: {human: Either section.entry or emptyReason are present, source: 'http://hl7.eu/fhir/eps/StructureDefinition/composition-eu-eps', severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: EPS Medication Summary Section _required: true index: 34 elements: code: pattern: type: CodeableConcept value: coding: - {code: 10160-0, system: 'http://loinc.org'} index: 35 entry: type: Reference short: medicationStatementOrRequest refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/MedicationAdministration', 'http://hl7.org/fhir/StructureDefinition/MedicationDispense', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/MedicationStatement'] index: 36 slicing: rules: open ordered: false discriminator: - {path: $this.resolve(), type: type} min: null slices: medicationStatementOrRequest: match: {} schema: short: Medications relevant for the scope of the patient summary refers: ['http://hl7.eu/fhir/eps/StructureDefinition/MedicationStatement-eu-eps'] type: Reference array: true index: 37 min: 0 emptyReason: {index: 38} attester: index: 11 elements: mode: {short: The type of attestation, index: 12} time: {index: 13} party: type: Reference refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core', 'http://hl7.eu/fhir/eps/StructureDefinition/patient-eu-eps', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 14 type: type: CodeableConcept short: Kind of composition ("Patient Summary") pattern: type: CodeableConcept value: coding: - {code: 60591-5, system: 'http://loinc.org'} index: 5 title: {short: Patient Summary, index: 10} author: type: Reference short: Who and/or what authored the Patient Summary refers: ['http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core', 'http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core', 'http://hl7.eu/fhir/eps/StructureDefinition/patient-eu-eps', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 9 extension: short: Business version index: 2 slicing: slices: version: match: {} schema: {short: Business version, index: 2} event: index: 16 elements: code: {index: 17} period: {index: 18} custodian: {short: Custodian of the Patient Summary, index: 15} status: {short: PS status, index: 4} identifier: {short: PS business identifier, index: 3} subject: type: Reference refers: ['http://hl7.eu/fhir/eps/StructureDefinition/patient-eu-eps'] index: 6 elements: reference: {index: 7} required: [reference] text: {index: 1} package_version: 1.0.0-ballot extensions: version: {url: null, short: Business version, index: 2} class: profile kind: resource url: http://hl7.eu/fhir/eps/StructureDefinition/composition-eu-eps base: http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core version: 1.0.0-ballot