AU Core Implementation Guide
1.0.0-preview - Preview Australia flag

This page is part of the AU Core (v1.0.0-preview: QA Preview) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions

Resource Profile: AU Core Encounter

Official URL: http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter Version: 1.0.0-preview
Standards status: Draft Maturity Level: 1 Computable Name: AUCoreEncounter

Copyright/Legal: Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia© 2022+; Licensed Under Creative Commons No Rights Reserved.

This profile sets minimum expectations for an Encounter resource to record, search, and fetch basic encounter information for a patient. It is based on the AU Base Encounter profile and identifies the additional mandatory core elements, extensions, vocabularies and value sets that SHALL be present in the Encounter when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context.

See Comparison with other national and international IGs for a comparison between AU Core profiles and profiles in other implementation guides.

Usage scenarios

The following are supported usage scenarios for this profile:

  • Query for a specific patient encounter
  • Query for all patient encounters
  • Record or update a patient encounter

Profile specific implementation guidance

  • The Encounter resource can represent a clinical indication with Encounter.reasonCode, or a reference with Encounter.reasonReference to a Condition or other resource.
    • Although both are marked as Must Support, responders are not required to support both a code and a reference, but they SHALL support at least one of these elements
    • A requester SHALL support both elements

Usage:

Changes since version 1.0.0-ballot:

  • No changes
  • Formal Views of Profile Content

    Description of Profiles, Differentials, Snapshots and how the different presentations work.

    This structure is derived from AUBaseEncounter

    NameFlagsCard.TypeDescription & Constraintsdoco
    .. Encounter 0..* AUBaseEncounter An encounter in an Australian healthcare context
    ... status SO 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... class SO 1..1 Coding Classification of patient encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... serviceType SO 0..1 CodeableConcept Specific type of service
    Binding: Service Type . (preferred)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... participant SO 0..* BackboneElement List of participants involved in the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... type SO 0..* CodeableConcept Role of participant in encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... individual SO 0..1 Reference(AU Core Practitioner | AU Core PractitionerRole | AU Base Related Person) Persons involved in the encounter other than the patient
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... period SO 0..1 Period The start and end time of the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... reasonCode SO 0..* CodeableConcept Coded reason the encounter takes place
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... reasonReference SO 0..* Reference(AU Core Condition | Observation | AU Core Procedure) Reason the encounter takes place (reference)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... location SO 0..* BackboneElement List of locations where the patient has been
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... location SO 1..1 Reference(AU Core Location) Location the encounter takes place
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... serviceProvider SO 0..1 Reference(AU Core Organization) The organization (facility) responsible for this encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester

    doco Documentation for this format

    Terminology Bindings (Differential)

    PathConformanceValueSetURI
    Encounter.serviceTypepreferredServiceType .
    https://healthterminologies.gov.au/fhir/ValueSet/service-type-1
    NameFlagsCard.TypeDescription & Constraintsdoco
    .. Encounter 0..* AUBaseEncounter An encounter in an Australian healthcare context
    ... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
    ... Slices for extension Content/Rules for all slices
    .... encounterDescription 0..1 string Description, overview or summary of an encounter
    URL: http://hl7.org.au/fhir/StructureDefinition/encounter-description
    .... associatedHealthcareService 0..* Reference(HealthcareService) Associated healthcare service
    URL: http://hl7.org.au/fhir/StructureDefinition/associated-healthcareservice
    ... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
    ... class SOΣ 1..1 Coding Classification of patient encounter
    Binding: ActEncounterCode - AU Extended (extensible)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... serviceType SOΣ 0..1 CodeableConcept Specific type of service
    Binding: Service Type . (preferred)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... subject SOΣ 1..1 Reference(AU Core Patient) The patient or group present at the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... participant SOΣ 0..* BackboneElement List of participants involved in the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... type SOΣ 0..* CodeableConcept Role of participant in encounter
    Binding: ParticipantType (extensible): Role of participant in encounter.


    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... individual SOΣ 0..1 Reference(AU Core Practitioner | AU Core PractitionerRole | AU Base Related Person) Persons involved in the encounter other than the patient
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... period SO 0..1 Period The start and end time of the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... reasonCode SOΣ 0..* CodeableConcept Coded reason the encounter takes place
    Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.


    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... reasonReference SOΣ 0..* Reference(AU Core Condition | Observation | AU Core Procedure) Reason the encounter takes place (reference)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... location SO 0..* BackboneElement List of locations where the patient has been
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... location SO 1..1 Reference(AU Core Location) Location the encounter takes place
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... serviceProvider SO 0..1 Reference(AU Core Organization) The organization (facility) responsible for this encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester

    doco Documentation for this format

    Terminology Bindings

    PathConformanceValueSetURI
    Encounter.statusrequiredEncounterStatus
    http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
    from the FHIR Standard
    Encounter.classextensibleActEncounterCodeAUExtended
    http://terminology.hl7.org.au/ValueSet/v3-ActEncounterCode-extended
    Encounter.serviceTypepreferredServiceType .
    https://healthterminologies.gov.au/fhir/ValueSet/service-type-1
    Encounter.participant.typeextensibleParticipantType
    http://hl7.org/fhir/ValueSet/encounter-participant-type
    from the FHIR Standard
    Encounter.reasonCodepreferredEncounterReasonCodes
    http://hl7.org/fhir/ValueSet/encounter-reason
    from the FHIR Standard

    Constraints

    IdGradePath(s)DetailsRequirements
    dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
    : contained.contained.empty()
    dom-3errorEncounterIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
    : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
    dom-4errorEncounterIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
    : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
    dom-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
    : contained.meta.security.empty()
    dom-6best practiceEncounterA resource should have narrative for robust management
    : text.`div`.exists()
    ele-1error**ALL** elementsAll FHIR elements must have a @value or children
    : hasValue() or (children().count() > id.count())
    ext-1error**ALL** extensionsMust have either extensions or value[x], not both
    : extension.exists() != value.exists()
    NameFlagsCard.TypeDescription & Constraintsdoco
    .. Encounter 0..* AUBaseEncounter An encounter in an Australian healthcare context
    ... id Σ 0..1 id Logical id of this artifact
    ... meta Σ 0..1 Meta Metadata about the resource
    ... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
    ... language 0..1 code Language of the resource content
    Binding: CommonLanguages (preferred): A human language.

    Additional BindingsPurpose
    AllLanguages Max Binding
    ... text 0..1 Narrative Text summary of the resource, for human interpretation
    ... contained 0..* Resource Contained, inline Resources
    ... Slices for extension 0..* Extension Extension
    Slice: Unordered, Open by value:url
    .... encounterDescription 0..1 string Description, overview or summary of an encounter
    URL: http://hl7.org.au/fhir/StructureDefinition/encounter-description
    .... associatedHealthcareService 0..* Reference(HealthcareService) Associated healthcare service
    URL: http://hl7.org.au/fhir/StructureDefinition/associated-healthcareservice
    ... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
    ... identifier Σ 0..* Identifier Identifier(s) by which this encounter is known
    ... status ?!SOΣ 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
    Binding: EncounterStatus (required): Current state of the encounter.

    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... statusHistory 0..* BackboneElement List of past encounter statuses
    .... id 0..1 string Unique id for inter-element referencing
    .... extension 0..* Extension Additional content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
    Binding: EncounterStatus (required): Current state of the encounter.

    .... period 1..1 Period The time that the episode was in the specified status
    ... class SOΣ 1..1 Coding Classification of patient encounter
    Binding: ActEncounterCode - AU Extended (extensible)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... classHistory 0..* BackboneElement List of past encounter classes
    .... id 0..1 string Unique id for inter-element referencing
    .... extension 0..* Extension Additional content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
    Binding: ActEncounterCode (extensible): Classification of the encounter.

    .... period 1..1 Period The time that the episode was in the specified class
    ... type Σ 0..* CodeableConcept Specific type of encounter
    Binding: Encounter Type . (preferred)
    ... serviceType SOΣ 0..1 CodeableConcept Specific type of service
    Binding: Service Type . (preferred)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... priority 0..1 CodeableConcept Indicates the urgency of the encounter
    Binding: ActPriority (example): Indicates the urgency of the encounter.

    ... subject SOΣ 1..1 Reference(AU Core Patient) The patient or group present at the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... episodeOfCare Σ 0..* Reference(EpisodeOfCare) Episode(s) of care that this encounter should be recorded against
    ... basedOn 0..* Reference(ServiceRequest) The ServiceRequest that initiated this encounter
    ... participant SOΣ 0..* BackboneElement List of participants involved in the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... id 0..1 string Unique id for inter-element referencing
    .... extension 0..* Extension Additional content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... type SOΣ 0..* CodeableConcept Role of participant in encounter
    Binding: ParticipantType (extensible): Role of participant in encounter.


    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... period 0..1 Period Period of time during the encounter that the participant participated
    .... individual SOΣ 0..1 Reference(AU Core Practitioner | AU Core PractitionerRole | AU Base Related Person) Persons involved in the encounter other than the patient
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... appointment Σ 0..* Reference(Appointment) The appointment that scheduled this encounter
    ... period SO 0..1 Period The start and end time of the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... length 0..1 Duration Quantity of time the encounter lasted (less time absent)
    ... reasonCode SOΣ 0..* CodeableConcept Coded reason the encounter takes place
    Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.


    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... reasonReference SOΣ 0..* Reference(AU Core Condition | Observation | AU Core Procedure) Reason the encounter takes place (reference)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... diagnosis Σ 0..* BackboneElement The list of diagnosis relevant to this encounter
    .... id 0..1 string Unique id for inter-element referencing
    .... extension 0..* Extension Additional content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... condition Σ 1..1 Reference(Condition | Procedure) The diagnosis or procedure relevant to the encounter
    .... use 0..1 CodeableConcept Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
    Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.

    .... rank 0..1 positiveInt Ranking of the diagnosis (for each role type)
    ... account 0..* Reference(Account) The set of accounts that may be used for billing for this Encounter
    ... hospitalization 0..1 BackboneElement Details about the admission to a healthcare service
    .... id 0..1 string Unique id for inter-element referencing
    .... extension 0..* Extension Additional content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... preAdmissionIdentifier 0..1 Identifier Pre-admission identifier
    .... origin 0..1 Reference(Location | Organization) The location/organization from which the patient came before admission
    .... admitSource 0..1 CodeableConcept From where patient was admitted (physician referral, transfer)
    Binding: AdmitSource (preferred): From where the patient was admitted.

    .... reAdmission 0..1 CodeableConcept The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission
    Binding: hl7VS-re-admissionIndicator (example): The reason for re-admission of this hospitalization encounter.

    .... dietPreference 0..* CodeableConcept Diet preferences reported by the patient
    Binding: Diet (example): Medical, cultural or ethical food preferences to help with catering requirements.


    .... specialCourtesy 0..* CodeableConcept Special courtesies (VIP, board member)
    Binding: SpecialCourtesy (preferred): Special courtesies.


    .... specialArrangement 0..* CodeableConcept Wheelchair, translator, stretcher, etc.
    Binding: SpecialArrangements (preferred): Special arrangements.


    .... destination 0..1 Reference(Location | Organization) Location/organization to which the patient is discharged
    .... dischargeDisposition 0..1 CodeableConcept Separation Mode
    Binding: Separation Mode . (extensible)
    ... location SO 0..* BackboneElement List of locations where the patient has been
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... id 0..1 string Unique id for inter-element referencing
    .... extension 0..* Extension Additional content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... location SO 1..1 Reference(AU Core Location) Location the encounter takes place
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... status 0..1 code planned | active | reserved | completed
    Binding: EncounterLocationStatus (required): The status of the location.

    .... physicalType 0..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
    Binding: LocationType (example): Physical form of the location.

    .... period 0..1 Period Time period during which the patient was present at the location
    ... serviceProvider SO 0..1 Reference(AU Core Organization) The organization (facility) responsible for this encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... partOf 0..1 Reference(Encounter) Another Encounter this encounter is part of

    doco Documentation for this format

    Terminology Bindings

    PathConformanceValueSetURI
    Encounter.languagepreferredCommonLanguages
    Additional Bindings Purpose
    AllLanguages Max Binding
    http://hl7.org/fhir/ValueSet/languages
    from the FHIR Standard
    Encounter.statusrequiredEncounterStatus
    http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
    from the FHIR Standard
    Encounter.statusHistory.statusrequiredEncounterStatus
    http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
    from the FHIR Standard
    Encounter.classextensibleActEncounterCodeAUExtended
    http://terminology.hl7.org.au/ValueSet/v3-ActEncounterCode-extended
    Encounter.classHistory.classextensibleActEncounterCode
    http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
    Encounter.typepreferredEncounterType .
    https://healthterminologies.gov.au/fhir/ValueSet/encounter-type-1
    Encounter.serviceTypepreferredServiceType .
    https://healthterminologies.gov.au/fhir/ValueSet/service-type-1
    Encounter.priorityexampleActPriority
    http://terminology.hl7.org/ValueSet/v3-ActPriority
    Encounter.participant.typeextensibleParticipantType
    http://hl7.org/fhir/ValueSet/encounter-participant-type
    from the FHIR Standard
    Encounter.reasonCodepreferredEncounterReasonCodes
    http://hl7.org/fhir/ValueSet/encounter-reason
    from the FHIR Standard
    Encounter.diagnosis.usepreferredDiagnosisRole
    http://hl7.org/fhir/ValueSet/diagnosis-role
    from the FHIR Standard
    Encounter.hospitalization.admitSourcepreferredAdmitSource
    http://hl7.org/fhir/ValueSet/encounter-admit-source
    from the FHIR Standard
    Encounter.hospitalization.reAdmissionexampleHl7VSReAdmissionIndicator
    http://terminology.hl7.org/ValueSet/v2-0092
    Encounter.hospitalization.dietPreferenceexampleDiet
    http://hl7.org/fhir/ValueSet/encounter-diet
    from the FHIR Standard
    Encounter.hospitalization.specialCourtesypreferredSpecialCourtesy
    http://hl7.org/fhir/ValueSet/encounter-special-courtesy
    from the FHIR Standard
    Encounter.hospitalization.specialArrangementpreferredSpecialArrangements
    http://hl7.org/fhir/ValueSet/encounter-special-arrangements
    from the FHIR Standard
    Encounter.hospitalization.dischargeDispositionextensibleSeparationMode . (a valid code from https://healthterminologies.gov.au/fhir/CodeSystem/separation-mode-1)
    https://healthterminologies.gov.au/fhir/ValueSet/separation-mode-1
    Encounter.location.statusrequiredEncounterLocationStatus
    http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1
    from the FHIR Standard
    Encounter.location.physicalTypeexampleLocationType
    http://hl7.org/fhir/ValueSet/location-physical-type
    from the FHIR Standard

    Constraints

    IdGradePath(s)DetailsRequirements
    dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
    : contained.contained.empty()
    dom-3errorEncounterIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
    : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
    dom-4errorEncounterIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
    : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
    dom-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
    : contained.meta.security.empty()
    dom-6best practiceEncounterA resource should have narrative for robust management
    : text.`div`.exists()
    ele-1error**ALL** elementsAll FHIR elements must have a @value or children
    : hasValue() or (children().count() > id.count())
    ext-1error**ALL** extensionsMust have either extensions or value[x], not both
    : extension.exists() != value.exists()

    Differential View

    This structure is derived from AUBaseEncounter

    NameFlagsCard.TypeDescription & Constraintsdoco
    .. Encounter 0..* AUBaseEncounter An encounter in an Australian healthcare context
    ... status SO 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... class SO 1..1 Coding Classification of patient encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... serviceType SO 0..1 CodeableConcept Specific type of service
    Binding: Service Type . (preferred)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... participant SO 0..* BackboneElement List of participants involved in the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... type SO 0..* CodeableConcept Role of participant in encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... individual SO 0..1 Reference(AU Core Practitioner | AU Core PractitionerRole | AU Base Related Person) Persons involved in the encounter other than the patient
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... period SO 0..1 Period The start and end time of the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... reasonCode SO 0..* CodeableConcept Coded reason the encounter takes place
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... reasonReference SO 0..* Reference(AU Core Condition | Observation | AU Core Procedure) Reason the encounter takes place (reference)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... location SO 0..* BackboneElement List of locations where the patient has been
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... location SO 1..1 Reference(AU Core Location) Location the encounter takes place
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... serviceProvider SO 0..1 Reference(AU Core Organization) The organization (facility) responsible for this encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester

    doco Documentation for this format

    Terminology Bindings (Differential)

    PathConformanceValueSetURI
    Encounter.serviceTypepreferredServiceType .
    https://healthterminologies.gov.au/fhir/ValueSet/service-type-1

    Key Elements View

    NameFlagsCard.TypeDescription & Constraintsdoco
    .. Encounter 0..* AUBaseEncounter An encounter in an Australian healthcare context
    ... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
    ... Slices for extension Content/Rules for all slices
    .... encounterDescription 0..1 string Description, overview or summary of an encounter
    URL: http://hl7.org.au/fhir/StructureDefinition/encounter-description
    .... associatedHealthcareService 0..* Reference(HealthcareService) Associated healthcare service
    URL: http://hl7.org.au/fhir/StructureDefinition/associated-healthcareservice
    ... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
    ... class SOΣ 1..1 Coding Classification of patient encounter
    Binding: ActEncounterCode - AU Extended (extensible)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... serviceType SOΣ 0..1 CodeableConcept Specific type of service
    Binding: Service Type . (preferred)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... subject SOΣ 1..1 Reference(AU Core Patient) The patient or group present at the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... participant SOΣ 0..* BackboneElement List of participants involved in the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... type SOΣ 0..* CodeableConcept Role of participant in encounter
    Binding: ParticipantType (extensible): Role of participant in encounter.


    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... individual SOΣ 0..1 Reference(AU Core Practitioner | AU Core PractitionerRole | AU Base Related Person) Persons involved in the encounter other than the patient
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... period SO 0..1 Period The start and end time of the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... reasonCode SOΣ 0..* CodeableConcept Coded reason the encounter takes place
    Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.


    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... reasonReference SOΣ 0..* Reference(AU Core Condition | Observation | AU Core Procedure) Reason the encounter takes place (reference)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... location SO 0..* BackboneElement List of locations where the patient has been
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... location SO 1..1 Reference(AU Core Location) Location the encounter takes place
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... serviceProvider SO 0..1 Reference(AU Core Organization) The organization (facility) responsible for this encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester

    doco Documentation for this format

    Terminology Bindings

    PathConformanceValueSetURI
    Encounter.statusrequiredEncounterStatus
    http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
    from the FHIR Standard
    Encounter.classextensibleActEncounterCodeAUExtended
    http://terminology.hl7.org.au/ValueSet/v3-ActEncounterCode-extended
    Encounter.serviceTypepreferredServiceType .
    https://healthterminologies.gov.au/fhir/ValueSet/service-type-1
    Encounter.participant.typeextensibleParticipantType
    http://hl7.org/fhir/ValueSet/encounter-participant-type
    from the FHIR Standard
    Encounter.reasonCodepreferredEncounterReasonCodes
    http://hl7.org/fhir/ValueSet/encounter-reason
    from the FHIR Standard

    Constraints

    IdGradePath(s)DetailsRequirements
    dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
    : contained.contained.empty()
    dom-3errorEncounterIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
    : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
    dom-4errorEncounterIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
    : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
    dom-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
    : contained.meta.security.empty()
    dom-6best practiceEncounterA resource should have narrative for robust management
    : text.`div`.exists()
    ele-1error**ALL** elementsAll FHIR elements must have a @value or children
    : hasValue() or (children().count() > id.count())
    ext-1error**ALL** extensionsMust have either extensions or value[x], not both
    : extension.exists() != value.exists()

    Snapshot View

    NameFlagsCard.TypeDescription & Constraintsdoco
    .. Encounter 0..* AUBaseEncounter An encounter in an Australian healthcare context
    ... id Σ 0..1 id Logical id of this artifact
    ... meta Σ 0..1 Meta Metadata about the resource
    ... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
    ... language 0..1 code Language of the resource content
    Binding: CommonLanguages (preferred): A human language.

    Additional BindingsPurpose
    AllLanguages Max Binding
    ... text 0..1 Narrative Text summary of the resource, for human interpretation
    ... contained 0..* Resource Contained, inline Resources
    ... Slices for extension 0..* Extension Extension
    Slice: Unordered, Open by value:url
    .... encounterDescription 0..1 string Description, overview or summary of an encounter
    URL: http://hl7.org.au/fhir/StructureDefinition/encounter-description
    .... associatedHealthcareService 0..* Reference(HealthcareService) Associated healthcare service
    URL: http://hl7.org.au/fhir/StructureDefinition/associated-healthcareservice
    ... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
    ... identifier Σ 0..* Identifier Identifier(s) by which this encounter is known
    ... status ?!SOΣ 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
    Binding: EncounterStatus (required): Current state of the encounter.

    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... statusHistory 0..* BackboneElement List of past encounter statuses
    .... id 0..1 string Unique id for inter-element referencing
    .... extension 0..* Extension Additional content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
    Binding: EncounterStatus (required): Current state of the encounter.

    .... period 1..1 Period The time that the episode was in the specified status
    ... class SOΣ 1..1 Coding Classification of patient encounter
    Binding: ActEncounterCode - AU Extended (extensible)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... classHistory 0..* BackboneElement List of past encounter classes
    .... id 0..1 string Unique id for inter-element referencing
    .... extension 0..* Extension Additional content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
    Binding: ActEncounterCode (extensible): Classification of the encounter.

    .... period 1..1 Period The time that the episode was in the specified class
    ... type Σ 0..* CodeableConcept Specific type of encounter
    Binding: Encounter Type . (preferred)
    ... serviceType SOΣ 0..1 CodeableConcept Specific type of service
    Binding: Service Type . (preferred)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... priority 0..1 CodeableConcept Indicates the urgency of the encounter
    Binding: ActPriority (example): Indicates the urgency of the encounter.

    ... subject SOΣ 1..1 Reference(AU Core Patient) The patient or group present at the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... episodeOfCare Σ 0..* Reference(EpisodeOfCare) Episode(s) of care that this encounter should be recorded against
    ... basedOn 0..* Reference(ServiceRequest) The ServiceRequest that initiated this encounter
    ... participant SOΣ 0..* BackboneElement List of participants involved in the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... id 0..1 string Unique id for inter-element referencing
    .... extension 0..* Extension Additional content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... type SOΣ 0..* CodeableConcept Role of participant in encounter
    Binding: ParticipantType (extensible): Role of participant in encounter.


    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... period 0..1 Period Period of time during the encounter that the participant participated
    .... individual SOΣ 0..1 Reference(AU Core Practitioner | AU Core PractitionerRole | AU Base Related Person) Persons involved in the encounter other than the patient
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... appointment Σ 0..* Reference(Appointment) The appointment that scheduled this encounter
    ... period SO 0..1 Period The start and end time of the encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... length 0..1 Duration Quantity of time the encounter lasted (less time absent)
    ... reasonCode SOΣ 0..* CodeableConcept Coded reason the encounter takes place
    Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.


    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... reasonReference SOΣ 0..* Reference(AU Core Condition | Observation | AU Core Procedure) Reason the encounter takes place (reference)
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... diagnosis Σ 0..* BackboneElement The list of diagnosis relevant to this encounter
    .... id 0..1 string Unique id for inter-element referencing
    .... extension 0..* Extension Additional content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... condition Σ 1..1 Reference(Condition | Procedure) The diagnosis or procedure relevant to the encounter
    .... use 0..1 CodeableConcept Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
    Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.

    .... rank 0..1 positiveInt Ranking of the diagnosis (for each role type)
    ... account 0..* Reference(Account) The set of accounts that may be used for billing for this Encounter
    ... hospitalization 0..1 BackboneElement Details about the admission to a healthcare service
    .... id 0..1 string Unique id for inter-element referencing
    .... extension 0..* Extension Additional content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... preAdmissionIdentifier 0..1 Identifier Pre-admission identifier
    .... origin 0..1 Reference(Location | Organization) The location/organization from which the patient came before admission
    .... admitSource 0..1 CodeableConcept From where patient was admitted (physician referral, transfer)
    Binding: AdmitSource (preferred): From where the patient was admitted.

    .... reAdmission 0..1 CodeableConcept The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission
    Binding: hl7VS-re-admissionIndicator (example): The reason for re-admission of this hospitalization encounter.

    .... dietPreference 0..* CodeableConcept Diet preferences reported by the patient
    Binding: Diet (example): Medical, cultural or ethical food preferences to help with catering requirements.


    .... specialCourtesy 0..* CodeableConcept Special courtesies (VIP, board member)
    Binding: SpecialCourtesy (preferred): Special courtesies.


    .... specialArrangement 0..* CodeableConcept Wheelchair, translator, stretcher, etc.
    Binding: SpecialArrangements (preferred): Special arrangements.


    .... destination 0..1 Reference(Location | Organization) Location/organization to which the patient is discharged
    .... dischargeDisposition 0..1 CodeableConcept Separation Mode
    Binding: Separation Mode . (extensible)
    ... location SO 0..* BackboneElement List of locations where the patient has been
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... id 0..1 string Unique id for inter-element referencing
    .... extension 0..* Extension Additional content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
    .... location SO 1..1 Reference(AU Core Location) Location the encounter takes place
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    .... status 0..1 code planned | active | reserved | completed
    Binding: EncounterLocationStatus (required): The status of the location.

    .... physicalType 0..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
    Binding: LocationType (example): Physical form of the location.

    .... period 0..1 Period Time period during which the patient was present at the location
    ... serviceProvider SO 0..1 Reference(AU Core Organization) The organization (facility) responsible for this encounter
    ObligationsActor
    SHALL:populate-if-known AU Core Responder
    SHALL:no-error AU Core Requester
    ... partOf 0..1 Reference(Encounter) Another Encounter this encounter is part of

    doco Documentation for this format

    Terminology Bindings

    PathConformanceValueSetURI
    Encounter.languagepreferredCommonLanguages
    Additional Bindings Purpose
    AllLanguages Max Binding
    http://hl7.org/fhir/ValueSet/languages
    from the FHIR Standard
    Encounter.statusrequiredEncounterStatus
    http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
    from the FHIR Standard
    Encounter.statusHistory.statusrequiredEncounterStatus
    http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
    from the FHIR Standard
    Encounter.classextensibleActEncounterCodeAUExtended
    http://terminology.hl7.org.au/ValueSet/v3-ActEncounterCode-extended
    Encounter.classHistory.classextensibleActEncounterCode
    http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
    Encounter.typepreferredEncounterType .
    https://healthterminologies.gov.au/fhir/ValueSet/encounter-type-1
    Encounter.serviceTypepreferredServiceType .
    https://healthterminologies.gov.au/fhir/ValueSet/service-type-1
    Encounter.priorityexampleActPriority
    http://terminology.hl7.org/ValueSet/v3-ActPriority
    Encounter.participant.typeextensibleParticipantType
    http://hl7.org/fhir/ValueSet/encounter-participant-type
    from the FHIR Standard
    Encounter.reasonCodepreferredEncounterReasonCodes
    http://hl7.org/fhir/ValueSet/encounter-reason
    from the FHIR Standard
    Encounter.diagnosis.usepreferredDiagnosisRole
    http://hl7.org/fhir/ValueSet/diagnosis-role
    from the FHIR Standard
    Encounter.hospitalization.admitSourcepreferredAdmitSource
    http://hl7.org/fhir/ValueSet/encounter-admit-source
    from the FHIR Standard
    Encounter.hospitalization.reAdmissionexampleHl7VSReAdmissionIndicator
    http://terminology.hl7.org/ValueSet/v2-0092
    Encounter.hospitalization.dietPreferenceexampleDiet
    http://hl7.org/fhir/ValueSet/encounter-diet
    from the FHIR Standard
    Encounter.hospitalization.specialCourtesypreferredSpecialCourtesy
    http://hl7.org/fhir/ValueSet/encounter-special-courtesy
    from the FHIR Standard
    Encounter.hospitalization.specialArrangementpreferredSpecialArrangements
    http://hl7.org/fhir/ValueSet/encounter-special-arrangements
    from the FHIR Standard
    Encounter.hospitalization.dischargeDispositionextensibleSeparationMode . (a valid code from https://healthterminologies.gov.au/fhir/CodeSystem/separation-mode-1)
    https://healthterminologies.gov.au/fhir/ValueSet/separation-mode-1
    Encounter.location.statusrequiredEncounterLocationStatus
    http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1
    from the FHIR Standard
    Encounter.location.physicalTypeexampleLocationType
    http://hl7.org/fhir/ValueSet/location-physical-type
    from the FHIR Standard

    Constraints

    IdGradePath(s)DetailsRequirements
    dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
    : contained.contained.empty()
    dom-3errorEncounterIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
    : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
    dom-4errorEncounterIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
    : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
    dom-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
    : contained.meta.security.empty()
    dom-6best practiceEncounterA resource should have narrative for robust management
    : text.`div`.exists()
    ele-1error**ALL** elementsAll FHIR elements must have a @value or children
    : hasValue() or (children().count() > id.count())
    ext-1error**ALL** extensionsMust have either extensions or value[x], not both
    : extension.exists() != value.exists()

     

    Other representations of profile: CSV, Excel, Schematron

    Notes:

    Below is an overview of the mandatory and optional search parameters and combined search parameters. See the AU Core CapabilityStatements for a complete list of supported RESTful interactions for this IG.

    FHIR search operations are described here and the syntax used to describe AU Core interactions is defined here.

    Any search parameter defined in FHIR may be ‘allowed’ by the system unless explicitly marked as “SHALL NOT”. A few items are marked as MAY in this implementation guide to highlight their potential relevance.

    Parameter(s) Conformance Type(s) Requirements (when used alone or in combination)
    patient SHALL reference The requester SHALL provide at least an id value and MAY provide both the Type and id values. The responder SHALL support both.
    patient+date SHALL reference+date
    patient+class SHOULD reference+token
    patient.identifier SHOULD reference.token The requester SHALL provide both the system and code values. The responder SHALL support both.

    The requester SHOULD support search using IHI, Medicare Number, and DVA Number identifiers as defined in the AU Core Patient profile. The responder SHOULD support search using the using IHI, Medicare Number, and DVA Number identifiers as defined in the AU Core Patient profile.
    patient+location SHOULD reference+reference
    patient+status SHOULD reference+token
    class MAY token The requester SHALL provide at least a code value and MAY provide both the system and code values. The responder SHALL support both.
    date MAY date A requester SHALL provide a value precise to the second + time offset. A responder SHALL support a value precise to the second + time offset.

    The requester SHALL support these search comparators gt, lt, ge, le. The responder SHALL support these search comparators gt, lt, ge, le.

    The requester SHOULD support multipleAnd, and if multipleAnd is supported, SHALL support the search comparators gt, lt, ge, le. The responder SHOULD support multipleAnd, and if multipleAnd is supported, SHALL support the search comparators gt, lt, ge, le.
    location MAY reference The requester SHALL provide at least an id value and MAY provide both the Type and id values. The responder SHALL support both.
    status MAY token The requester SHALL provide at least a code value and MAY provide both the system and code values. The responder SHALL support both.

    The requester SHALL support multipleOr.The responder SHALL support multipleOr.

    Mandatory Search Parameters:

    The following search parameters and search parameter combinations SHALL be supported:

    1. SHALL support searching using the patient search parameter:
      • SHOULD support chained searching of patient canonical identifier patient.identifier (e.g. patient.identifier=[system|][code])

      GET [base]/Encounter?patient={Type/}[id] or optionally GET [base]/Encounter?patient.identifier=[system|][code]

      Example:

      1. GET [base]/Encounter?patient=5678
      2. GET [base]/Encounter?patient.identifier=http://ns.electronichealth.net.au/id/medicare-number|32788511952
      3. GET [base]/Encounter?patient.identifier=http://ns.electronichealth.net.au/id/hi/ihi/1.0|8003608833357361

      Implementation Notes: Fetches a bundle of all Encounter resources for the specified patient (how to search by reference and how to search by token)

    2. SHALL support searching using the combination of the patient and date search parameters:
      • SHOULD support chained searching of patient canonical identifier patient.identifier (e.g. patient.identifier=[system|][code])
      • SHALL support these date comparators: gt,lt,ge,le
      • SHOULD support multipleAnd search on date (e.g.date=[date]&date=[date]]&...), and if multipleAnd is supported, SHALL support the search comparators gt,lt,ge,le

      GET [base]/Encounter?patient={Type/}[id]&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...}

      Example:

      1. GET [base]/Encounter?patient=5678&date=ge2020-01-01T00:00:00Z

      Implementation Notes: Fetches a bundle of all Encounter resources for the specified patient and date (how to search by reference and how to search by date)

    Optional Search Parameters:

    The following search parameters and search parameter combinations SHOULD be supported:

    1. SHOULD support searching using the combination of the patient and class search parameters:
      • SHOULD support chained searching of patient canonical identifier patient.identifier (e.g. patient.identifier=[system|][code])

      GET [base]/Encounter?patient={Type/}[id]&class={system|}[code]

      Example:

      1. GET [base]/Encounter?patient=5678&class=http://terminology.hl7.org/CodeSystem/v3-ActCode|AMB

      Implementation Notes: Fetches a bundle of all Encounter resources for the specified patient and class (how to search by reference and how to search by token)

    2. SHOULD support searching using the combination of the patient and location search parameters:
      • SHOULD support chained searching of patient canonical identifier patient.identifier (e.g. patient.identifier=[system|][code])

      GET [base]/Encounter?patient={Type/}[id]&location={Type/}[id]

      Example:

      1. GET [base]/Encounter?patient=5678&location=Location/vic-hospital

      Implementation Notes: Fetches a bundle of all Encounter resources matching the specified patient and location (how to search by reference)

    3. SHOULD support searching using the combination of the patient and status search parameters:
      • SHOULD support chained searching of patient canonical identifier patient.identifier (e.g. patient.identifier=[system|][code])
      • SHALL support multipleOr search on status (e.g.status={system|}[code],{system|}[code],...)

      GET [base]/Encounter?patient={Type/}[id]&&status={system|}[code]{,{system|}[code],...}

      Example:

      1. GET [base]/Encounter?patient=5678&status=finished

      Implementation Notes: Fetches a bundle of all Encounter resources matching the specified patient and status (how to search by reference) and how to search by token).