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). \r\nAU Patient Summary (AU PS) is specified in this guide as a HL7 FHIR document (a Bundle including a Composition), composed by a set of potentially reusable 'minimal' data blocks (the AU PS profiles). package_name: hl7.fhir.au.ps derivation: constraint name: AUPSComposition type: Composition elements: date: {mustSupport: true, index: 7} meta: elements: profile: {short: Conformance claim to a specific Patient Summary specification, mustSupport: true, index: 0} section: min: 3 short: Sections composing the patient summary index: 24 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: constraint: ips-comp-1: {human: Either section.entry or emptyReason are present, severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: Patient Summary Problems Section mustSupport: true _required: true index: 31 elements: title: {mustSupport: true, index: 32} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 11450-4, system: 'http://loinc.org'} index: 33 text: {mustSupport: true, index: 34} 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: 35 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: problem: match: {} schema: refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-condition'] type: Reference mustSupport: true array: true index: 36 min: 0 emptyReason: {type: CodeableConcept, mustSupport: true, index: 37} required: [text, title, code] sectionPatientStory: match: code: coding: - {code: 81338-6, system: 'http://loinc.org'} schema: short: Patient Summary Patient Story Section mustSupport: true index: 110 elements: title: {mustSupport: true, index: 111} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 81338-6, system: 'http://loinc.org'} index: 112 text: {mustSupport: true, index: 113} entry: {short: Patient Story resources, index: 114} required: [text, title, code] sectionProceduresHx: match: code: coding: - {code: 47519-4, system: 'http://loinc.org'} schema: short: Patient Summary History of Procedures Section mustSupport: true index: 66 elements: title: {mustSupport: true, index: 67} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 47519-4, system: 'http://loinc.org'} index: 68 text: {mustSupport: true, index: 69} entry: type: Reference short: Patient past procedures pertinent to the scope of this patient summary refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Procedure'] index: 70 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: procedure: match: {} schema: refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-procedure'] type: Reference mustSupport: true array: true index: 71 min: 0 required: [text, title, code] sectionPastProblems: match: code: coding: - {code: 11348-0, system: 'http://loinc.org'} schema: short: Patient Summary History of Past Illness Section mustSupport: true index: 97 elements: title: {mustSupport: true, index: 98} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 11348-0, system: 'http://loinc.org'} index: 99 text: {mustSupport: true, index: 100} entry: type: Reference short: Conditions the patient suffered in the past refers: ['http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 101 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: pastProblem: match: {} schema: type: Reference refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-condition'] array: true index: 102 min: 0 required: [text, title, code] sectionPlanOfCare: match: code: coding: - {code: 18776-5, system: 'http://loinc.org'} schema: short: Patient Summary Plan of Care Section mustSupport: true index: 115 elements: title: {mustSupport: true, index: 116} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 18776-5, system: 'http://loinc.org'} index: 117 text: {mustSupport: true, index: 118} entry: type: Reference short: Structured care plans refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation'] index: 119 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: carePlan: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan'] array: true index: 120 min: 0 immunizationRecommendation: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation'] array: true index: 121 min: 0 required: [text, title, code] sectionMedicalDevices: match: code: coding: - {code: 46264-8, system: 'http://loinc.org'} schema: short: Patient Summary Medical Devices Section mustSupport: true index: 72 elements: title: {mustSupport: true, index: 73} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 46264-8, system: 'http://loinc.org'} index: 74 text: {mustSupport: true, index: 75} entry: type: Reference short: Patient history of medical device use refers: ['http://hl7.org/fhir/StructureDefinition/DeviceUseStatement', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 76 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: deviceStatement: match: {} schema: refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/DeviceUseStatement-uv-ips'] type: Reference mustSupport: true array: true index: 77 min: 0 required: [text, title, code] sectionSocialHistory: match: code: coding: - {code: 29762-2, system: 'http://loinc.org'} schema: short: Patient Summary Social History Section mustSupport: true index: 122 elements: title: {mustSupport: true, index: 123} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 29762-2, system: 'http://loinc.org'} index: 124 text: {mustSupport: true, index: 125} entry: type: Reference short: Health related "lifestyle factors" or "lifestyle observations" refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation'] index: 126 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: smokingTobaccoUse: match: {} schema: type: Reference refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-smokingstatus'] index: 127 min: 0 max: 1 alcoholUse: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-alcoholuse-uv-ips'] index: 128 min: 0 max: 1 required: [text, title, code] sectionFunctionalStatus: match: code: coding: - {code: 47420-5, system: 'http://loinc.org'} schema: short: Patient Summary Functional Status Section mustSupport: true index: 90 elements: title: {mustSupport: true, index: 91} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 47420-5, system: 'http://loinc.org'} index: 92 text: {mustSupport: true, index: 93} entry: type: Reference short: Disabilities and functional assessments refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression', 'http://hl7.org/fhir/StructureDefinition/Condition', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 94 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: disability: match: {} schema: type: Reference refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-condition'] array: true index: 95 min: 0 functionalAssessment: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/ClinicalImpression'] array: true index: 96 min: 0 required: [text, title, code] sectionAllergies: match: code: coding: - {code: 48765-2, system: 'http://loinc.org'} schema: constraint: ips-comp-1: {human: Either section.entry or emptyReason are present, severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: Patient Summary Allergies and Intolerances Section mustSupport: true _required: true index: 38 elements: title: {mustSupport: true, index: 39} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 48765-2, system: 'http://loinc.org'} index: 40 text: {mustSupport: true, index: 41} entry: type: Reference short: Relevant allergies or intolerances (conditions) for that patient refers: ['http://hl7.org/fhir/StructureDefinition/AllergyIntolerance', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 42 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: allergyOrIntolerance: match: {} schema: refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-allergyintolerance'] type: Reference mustSupport: true array: true index: 43 min: 0 emptyReason: {type: CodeableConcept, mustSupport: true, index: 44} required: [text, title, code] sectionPregnancyHx: match: code: coding: - {code: 10162-6, system: 'http://loinc.org'} schema: short: Patient Summary History of Pregnancy Section mustSupport: true index: 103 elements: title: {mustSupport: true, index: 104} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 10162-6, system: 'http://loinc.org'} index: 105 text: {mustSupport: true, index: 106} entry: type: Reference short: Current pregnancy status and, optionally, information about the outcome of earlier pregnancies refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation'] index: 107 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: pregnancyStatus: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-status-uv-ips'] array: true index: 108 min: 0 pregnancyOutcome: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-outcome-uv-ips'] array: true index: 109 min: 0 required: [text, title, code] sectionAdvanceDirectives: match: code: coding: - {code: 42348-3, system: 'http://loinc.org'} schema: short: Patient Summary Advance Directives Section mustSupport: true index: 78 elements: title: {mustSupport: true, index: 79} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 42348-3, system: 'http://loinc.org'} index: 80 text: {mustSupport: true, index: 81} entry: type: Reference short: A patient's advance directives refers: ['http://hl7.org/fhir/StructureDefinition/Consent', 'http://hl7.org/fhir/StructureDefinition/DocumentReference'] index: 82 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: advanceDirectivesConsent: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Consent'] array: true index: 83 min: 0 required: [text, title, code] sectionAlerts: match: code: coding: - {code: 104605-1, system: 'http://loinc.org'} schema: short: Patient Summary Alerts Section mustSupport: true index: 84 elements: title: {mustSupport: true, index: 85} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 104605-1, system: 'http://loinc.org'} index: 86 text: {mustSupport: true, index: 87} entry: type: Reference short: Alert information refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Flag'] index: 88 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: alertsFlag: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Flag-alert-uv-ips'] array: true index: 89 min: 0 required: [text, title, code] sectionVitalSigns: match: code: coding: - {code: 8716-3, system: 'http://loinc.org'} schema: short: Patient Summary Vital Signs Section mustSupport: true label: Vital signs index: 129 elements: title: {mustSupport: true, index: 130} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 8716-3, system: 'http://loinc.org'} index: 131 text: {mustSupport: true, index: 132} entry: type: Reference short: Notable vital signs or physical findings refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation'] index: 133 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: vitalSign: match: {} schema: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/vitalsigns'] array: true index: 134 min: 0 required: [text, title, code] sectionImmunizations: match: code: coding: - {code: 11369-6, system: 'http://loinc.org'} schema: short: Patient Summary Immunizations Section mustSupport: true index: 52 elements: title: {mustSupport: true, index: 53} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 11369-6, system: 'http://loinc.org'} index: 54 text: {mustSupport: true, index: 55} entry: type: Reference short: Patient's immunisation status and pertinent history refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Immunization'] index: 56 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: immunization: match: {} schema: refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-immunization'] type: Reference mustSupport: true array: true index: 57 min: 0 required: [text, title, code] sectionResults: match: code: coding: - {code: 30954-2, system: 'http://loinc.org'} schema: short: Patient Summary Results Section mustSupport: true index: 58 elements: title: {mustSupport: true, index: 59} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 30954-2, system: 'http://loinc.org'} index: 60 text: {mustSupport: true, index: 61} entry: type: Reference short: Relevant observation results collected on the patient or produced on in-vitro biologic specimens collected from the patient refers: ['http://hl7.org/fhir/StructureDefinition/DiagnosticReport', 'http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation'] index: 62 slicing: rules: open discriminator: - {path: resolve(), type: type} - {path: resolve(), type: profile} min: null slices: results-observation-laboratory-pathology: match: {} schema: refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-diagnosticresult-path'] type: Reference mustSupport: true array: true index: 63 min: 0 results-observation-radiology: match: {} schema: refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-radiology-uv-ips'] type: Reference mustSupport: true array: true index: 64 min: 0 results-diagnosticReport: match: {} schema: refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/DiagnosticReport-uv-ips'] type: Reference mustSupport: true array: true index: 65 min: 0 required: [text, title, code] sectionMedications: match: code: coding: - {code: 10160-0, system: 'http://loinc.org'} schema: constraint: ips-comp-1: {human: Either section.entry or emptyReason are present, severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: Patient Summary Medication Summary Section mustSupport: true _required: true index: 45 elements: title: {mustSupport: true, index: 46} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 10160-0, system: 'http://loinc.org'} index: 47 text: {mustSupport: true, index: 48} entry: type: Reference short: Medications relevant for the scope of the patient summary 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: 49 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: medicationStatementOrRequest: match: {} schema: refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medicationrequest', 'http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-medicationstatement'] type: Reference mustSupport: true array: true index: 50 min: 0 emptyReason: {type: CodeableConcept, mustSupport: true, index: 51} required: [text, title, code] mustSupport: true array: true 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} title: {mustSupport: true, index: 27} code: {type: CodeableConcept, mustSupport: true, index: 28} text: {mustSupport: true, index: 29} section: {index: 30} extensions: section-note: {url: 'http://hl7.org/fhir/StructureDefinition/note', type: Extension, short: Additional notes that apply to the section (but not to specific resource), index: 26} required: [text, title, code] attester: mustSupport: true index: 10 elements: mode: {mustSupport: true, index: 11} time: {mustSupport: true, index: 12} 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: 13 type: type: CodeableConcept short: Kind of composition ("Patient Summary") mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 60591-5, system: 'http://loinc.org'} index: 4 title: {short: The title of this patient summary, mustSupport: true, index: 9} 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: 8 event: index: 20 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: 21 elements: code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: PCPR, system: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'} index: 22 period: {mustSupport: true, index: 23} required: [code] custodian: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-organization'] index: 14 status: {mustSupport: true, index: 3} identifier: {mustSupport: true, index: 2} relatesTo: index: 15 elements: target: choices: [targetIdentifier, targetReference] index: 17 targetIdentifier: {type: Identifier, choiceOf: target, index: 18} 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: 19 subject: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-patient'] index: 5 elements: reference: {mustSupport: true, index: 6} required: [reference] text: {mustSupport: true, index: 1} package_version: 0.5.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.5.0-preview required: [subject]