description: This profile sets minimum expectations for a Composition resource in the context of a patient summary in an Australian context. It is based on [AU Base Composition](http://hl7.org.au/fhir/StructureDefinition/au-composition) and imposes [Composition (IPS)](http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips). package_name: hl7.fhir.au.ps derivation: constraint name: AUPSComposition type: Composition elements: date: {mustSupport: true, index: 6} section: min: 3 short: Sections composing the patient summary index: 22 slicing: rules: open ordered: false discriminator: - {path: code, type: pattern} min: 3 slices: sectionProblems: match: code: coding: - {code: 11450-4, system: 'http://loinc.org'} schema: short: IPS Problems Section mustSupport: true _required: true index: 27 elements: title: {mustSupport: true, index: 28} code: type: CodeableConcept pattern: type: CodeableConcept value: coding: - {code: 11450-4, system: 'http://loinc.org'} index: 29 entry: type: Reference short: Clinical problems or conditions currently being monitored for the patient. mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 30 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: problem: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-condition'] array: true index: 31 min: 0 required: [title, code] sectionAllergies: match: code: coding: - {code: 48765-2, system: 'http://loinc.org'} schema: short: IPS Allergies and Intolerances Section mustSupport: true _required: true index: 32 elements: title: {mustSupport: true, index: 33} code: type: CodeableConcept pattern: type: CodeableConcept value: coding: - {code: 48765-2, system: 'http://loinc.org'} index: 34 entry: type: Reference short: Relevant allergies or intolerances (conditions) for that patient. mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/AllergyIntolerance', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 35 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: allergyOrIntolerance: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-allergyintolerance'] array: true index: 36 min: 0 required: [title, code] sectionMedications: match: code: coding: - {code: 10160-0, system: 'http://loinc.org'} schema: short: IPS Medication Summary Section mustSupport: true _required: true index: 37 elements: title: {short: Medication Summary section, mustSupport: true, index: 38} code: type: CodeableConcept pattern: type: CodeableConcept value: coding: - {code: 10160-0, system: 'http://loinc.org'} index: 39 entry: type: Reference short: Medications relevant for the scope of the patient summary mustSupport: true 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: 40 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: medicationStatement: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medicationstatement'] array: true index: 41 min: 0 medicationRequest: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medicationrequest'] array: true index: 42 min: 0 required: [title, code] sectionImmunizations: match: code: coding: - {code: 11369-6, system: 'http://loinc.org'} schema: short: Immunizations Section mustSupport: true index: 43 elements: title: {mustSupport: true, index: 44} code: type: CodeableConcept pattern: type: CodeableConcept value: coding: - {code: 11369-6, system: 'http://loinc.org'} index: 45 entry: type: Reference short: Patient's immunization status and pertinent history. mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Immunization'] index: 46 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: immunization: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-immunization'] array: true index: 47 min: 0 required: [title, code] mustSupport: true array: true elements: extension: index: 23 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: 24} min: 0 max: 1 text: {mustSupport: true, index: 25} section: {index: 26} extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, max: 1, type: Extension, short: Additional notes that apply to the section (but not to specific resource)., index: 24} required: [text] attester: mustSupport: true index: 9 elements: mode: {mustSupport: true, index: 10} time: {mustSupport: true, index: 11} party: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-organization', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitioner', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson'] index: 12 type: type: CodeableConcept short: Kind of composition ("Patient Summary") mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 60591-5, system: 'http://loinc.org'} index: 3 title: {short: Patient Summary, mustSupport: true, index: 8} author: type: Reference short: Who and/or what authored the patient summary mustSupport: true refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-organization', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitioner', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-relatedperson', 'http://hl7.org/fhir/StructureDefinition/Device'] index: 7 event: index: 18 slicing: rules: open discriminator: - {path: code, type: pattern} min: null slices: careProvisioningEvent: match: code: coding: - {code: PCPR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'} schema: short: The care provisioning being documented mustSupport: true index: 19 elements: code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: PCPR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'} index: 20 period: {mustSupport: true, index: 21} required: [code] custodian: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-organization'] index: 13 status: {mustSupport: true, index: 2} identifier: {mustSupport: true, index: 1} relatesTo: elements: target: choices: [targetIdentifier, targetReference] index: 15 targetIdentifier: {type: Identifier, choiceOf: target, index: 16} targetReference: type: Reference choiceOf: target refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-composition', 'http://hl7.org/fhir/StructureDefinition/Composition', 'http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips'] index: 17 subject: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient'] index: 4 elements: reference: {mustSupport: true, index: 5} required: [reference] text: {mustSupport: true, index: 0} package_version: 0.1.0-preview class: profile kind: resource url: http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-composition base: http://hl7.org.au/fhir/StructureDefinition/au-composition version: 0.1.0-preview required: [subject]