description: Bundle profile for My Health Record Event Summary document, aligned with NEHTA CDA Implementation Guide v1.3 package_name: fhir.halaxy derivation: constraint name: BundleMHREventSummary type: Bundle elements: type: pattern: {type: Code, value: document} index: 0 timestamp: constraint: clindoc-timestamp-ge-compoDate: {human: For a FHIR Clinical Document the Bundle timestamp must be the same or after the Composition date, source: 'https://terminology.halaxy.com/fhir/StructureDefinition/event-summary-bundle', severity: error, expression: timestamp >= entry.first().resource.date} mustSupport: true index: 1 total: {index: 2} link: {index: 3} entry: mustSupport: true array: true min: 5 index: 4 elements: modifierExtension: {index: 5} fullUrl: {mustSupport: true, index: 6} resource: {mustSupport: true, index: 7} search: {index: 8} request: {index: 9} response: {index: 10} required: [resource, fullUrl] slicing: rules: open description: Slicing based on the resource type discriminator: - {path: $this.resource, type: type} min: 5 slices: clinical-document-composition: match: {} schema: short: Event Summary Composition mustSupport: true _required: true index: 11 elements: resource: {type: Composition, index: 12} patient: match: {} schema: mustSupport: true _required: true index: 13 elements: resource: {type: Patient, index: 14} author: match: {} schema: mustSupport: true _required: true index: 15 elements: resource: {type: Practitioner, index: 16} authorRole: match: {} schema: mustSupport: true _required: true index: 17 elements: resource: {type: PractitionerRole, index: 18} custodian: match: {} schema: {mustSupport: true, _required: true, index: 19} min: 1 max: 1 package_version: 0.1.0 class: profile kind: resource url: https://terminology.halaxy.com/fhir/StructureDefinition/event-summary-bundle base: http://hl7.org/fhir/StructureDefinition/Bundle version: 0.1.0 required: [timestamp]