description: This profile constrains the DiagnosticReport resource for the purpose of the MyHealth@EU EPS. package_name: myhealth.eu.fhir.eps derivation: constraint name: DiagnosticReportMyHealthEuEps type: DiagnosticReport elements: subject: type: Reference refers: ['http://fhir.ehdsi.eu/eps/StructureDefinition/patient-myhealtheu-eps', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location'] index: 0 elements: reference: {index: 1} required: [reference] effective: choices: [] index: 3 slicing: slices: effectiveDateTime: match: {} schema: choices: [effectiveDateTime] index: 5 min: 0 max: 1 effectiveDateTime: type: dateTime choiceOf: effective index: 6 slicing: slices: effectiveDateTime: match: {} schema: {type: dateTime, choiceOf: effective, index: 6} min: 0 max: 1 result: index: 7 slicing: rules: open ordered: false discriminator: - {path: resolve(), type: profile} min: null slices: observation-results: match: {} schema: type: Reference refers: ['http://fhir.ehdsi.eu/core/StructureDefinition/medicalTestResult-myhealtheu-core'] array: true index: 8 min: 0 package_version: 1.0.0-poc class: profile kind: resource url: http://fhir.ehdsi.eu/eps/StructureDefinition/diagnosticReport-myhealtheu-eps base: http://fhir.ehdsi.eu/core/StructureDefinition/diagnosticReport-myhealtheu-core version: 1.0.0-poc required: [effective]