PackagesCanonicalsLogsProblems
    Packages
    fhir.halaxy@0.1.0
    https://terminology.halaxy.com/fhir/StructureDefinition/event-summary-composition
description: Composition profile for My Health Record Event Summary document, aligned with NEHTA CDA Implementation Guide v1.3
package_name: fhir.halaxy
derivation: constraint
name: MHREventSummaryComposition
type: Composition
elements:
  category: {index: 10}
  date: {mustSupport: true, index: 12}
  section:
    index: 23
    extensions: {}
    elements:
      orderedBy: {index: 29}
      section: {index: 32}
      mode: {index: 28}
      emptyReason: {index: 31}
      author: {index: 26}
      extension: {index: 24}
      focus: {index: 27}
      entry: {index: 30}
      modifierExtension: {index: 25}
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: 1
      slices:
        eventOverview:
          match:
            code:
              coding:
              - {code: '101.16672', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Event Overview}
          schema:
            _required: true
            index: 33
            elements:
              title:
                pattern: {type: String, value: eventOverview}
                mustSupport: true
                index: 34
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '101.16672', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Event Overview}
                index: 35
              text:
                mustSupport: true
                index: 36
                elements:
                  status:
                    pattern: {type: Code, value: generated}
                    index: 37
                  div: {mustSupport: true, index: 38}
            required: [text, title, code]
        clinicalSynopsis:
          match:
            code:
              coding:
              - {code: '102.15513', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Clinical Synopsis}
          schema:
            index: 39
            elements:
              title:
                pattern: {type: String, value: clinicalSynopsis}
                index: 40
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '102.15513', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Clinical Synopsis}
                index: 41
            required: [code]
        adverseReactions:
          match:
            code:
              coding:
              - {code: '101.20113', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Adverse Reactions}
          schema:
            index: 42
            elements:
              title:
                pattern: {type: String, value: adverseReactions}
                index: 43
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '101.20113', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Adverse Reactions}
                index: 44
            required: [code]
        medications:
          match:
            code:
              coding:
              - {code: '101.16146', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Medication Orders}
          schema:
            index: 45
            elements:
              title:
                pattern: {type: String, value: medications}
                index: 46
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '101.16146', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Medication Orders}
                index: 47
            required: [code]
        medicalHistory:
          match:
            code:
              coding:
              - {code: '101.16117', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Medical History}
          schema:
            index: 48
            elements:
              title:
                pattern: {type: String, value: medicalHistory}
                index: 49
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '101.16117', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Medical History}
                index: 50
            required: [code]
        immunisations:
          match:
            code:
              coding:
              - {code: '101.16638', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Immunisations}
          schema:
            index: 51
            elements:
              title:
                pattern: {type: String, value: immunisations}
                index: 52
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '101.16638', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Immunisations}
                index: 53
            required: [code]
        diagnosticInvestigations:
          match:
            code:
              coding:
              - {code: '101.20117', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Diagnostic Investigations}
          schema:
            index: 54
            elements:
              title:
                pattern: {type: String, value: diagnosticInvestigations}
                index: 55
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '101.20117', system: 'https://healthterminologies.gov.au/fhir/CodeSystem/nctis-data-components-1', display: Diagnostic Investigations}
                index: 56
            required: [code]
  implicitRules: {index: 1}
  attester:
    index: 16
    elements:
      mode:
        pattern: {type: Code, value: legal}
        mustSupport: true
        index: 17
      time: {mustSupport: true, index: 18}
      party:
        type: Reference
        mustSupport: true
        refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole']
        index: 19
    required: [time, party]
  type:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 34133-9, system: 'http://loinc.org', display: Summary of episode note}
    index: 9
  title: {mustSupport: true, index: 14}
  author:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole']
    index: 13
  extension:
    index: 2
    slicing:
      slices:
        partOf:
          match: {}
          schema:
            type: Extension
            short: Link to the DocumentReference for the MHR Event Summary document
            url: http://hl7.org/fhir/StructureDefinition/event-partOf
            index: 3
            elements:
              value:
                mustSupport: true
                choices: [valueReference]
                index: 5
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference']
                index: 6
  event: {index: 22}
  custodian:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization']
    index: 20
  status:
    pattern: {type: Code, value: final}
    mustSupport: true
    index: 8
  id: {index: 0}
  relatesTo: {index: 21}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient']
    index: 11
  modifierExtension: {index: 7}
  confidentiality: {index: 15}
package_version: 0.1.0
extensions:
  partOf:
    url: http://hl7.org/fhir/StructureDefinition/event-partOf
    type: Extension
    short: Link to the DocumentReference for the MHR Event Summary document
    index: 3
    elements:
      value:
        mustSupport: true
        choices: [valueReference]
        index: 5
      valueReference:
        type: Reference
        mustSupport: true
        choiceOf: value
        refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference']
        index: 6
class: profile
kind: resource
url: https://terminology.halaxy.com/fhir/StructureDefinition/event-summary-composition
base: http://hl7.org.au/fhir/StructureDefinition/au-composition
version: 0.1.0
required: [id, attester, extension, section, subject, custodian]