MediRecords FHIR Implementation Guide
1.4.0 - release


Resource Profile: MR Encounter Admission

Defining URL:https://fhir.medirecords.com/StructureDefinition/mr-encounter-admission
Version:1.4.0
Name:MREncounterAdmission
Title:MR Encounter Admission
Status:Active as of 2024-06-28 01:25:00+0000
Definition:

MediRecords Admission Encounter profile to record visit related details for a patient in context of an hospital admission.

Source Resource:XML / JSON / Turtle

The official URL for this profile is:

https://fhir.medirecords.com/StructureDefinition/mr-encounter-admission

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 C0..*AUBaseEncounterMediRecords Admission Encounter
inv-mr-consult-period-end-01: Medirecords supports period.end for only 'finished' consultation status
inv-mr-consult-period-end-02: Medirecords expects period.end value if the consultation status is set to 'finished'
... meta
.... lastUpdated S0..1instantWhen the resource version last changed
... plannedStartDate S0..1dateTimeThe planned start date/time (or admission date) of the encounter
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate
... plannedEndDate S0..1dateTimeThe planned end date/time (or discharge date) of the encounter
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate
.... valueDateTime C1..1dateTimeThe planned end date (or discharge date) of the encounter in the format YYYY-MM-DD
inv-mr-date-format-01: Date must be in YYYY-MM-DD format
.... valueCoding 1..1CodingValue of extension
Binding: MediRecords Transfer Mode (extensible)
... reasonCancelled S0..1CodeableConceptReason code for admission cancellation
URL: http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled
.... valueCodeableConcept 1..1CodeableConceptValue of extension
..... coding 0..0
..... text 1..1stringPlain text representation of the concept
Max Length: 500
... comment S0..1stringComment related to the Encounter
URL: https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext
... Slices for identifier 0..*IdentifierIdentifier(s) by which this encounter is known
Slice: Unordered, Open by pattern:type
.... identifier:visit-number S0..1IdentifierVisit number
..... type 1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: VN
..... system 1..1uriUnique tenant identifier in the form 'urn:uuid:<<tenant-guid>>'.
..... value 1..1stringAdmission identifier (visit number)
..... assigner
...... display 1..1stringName of tenant
... status S1..1codeplanned | in-progress | finished | cancelled
Binding: MediRecords Admission Encounter Status (required)
... class S1..1CodingIMP | EMER
Binding: MediRecords Admission Encounter Class (required)
... priority S0..1CodeableConceptEmergency triage priority
Binding: MediRecords Triage Priority (extensible)
.... text 1..1stringPlain text representation of the concept
... subject S1..1Reference(MR Patient)The patient present at the encounter
... Slices for participant 0..*BackboneElementThis is about the participant who is the performer
Slice: Unordered, Open by pattern:type
.... participant:referring S0..1BackboneElementReferring doctor
..... type 1..*CodeableConceptReferring doctor role type
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ParticipationType
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: REF
..... individual S1..1Reference(MR Practitioner | MR PractitionerRole Contact)Referring doctor as user Practitioner or external PractitionerRole Contact
...... reference 1..1stringRelative reference to Referring doctor
...... display 0..1stringReferring doctor name
.... participant:attending S0..1BackboneElementAttending doctor
..... type 1..*CodeableConceptAttending doctor role type
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ParticipationType
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ATND
..... individual S1..1Reference(MR Practitioner)Attending doctor as user Practitioner
...... reference 1..1stringRelative reference to Attending doctor
...... display 0..1stringAttending provider name
.... participant:anaesthetist S0..1BackboneElementAnaesthetist
..... type 1..*CodeableConceptAnaesthetist role type
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 88189002
....... display1..1stringRepresentation defined by the system
Fixed Value: Anaesthesiologist
..... individual S1..1Reference(MR Practitioner)Anaesthetist as user Practitioner
...... reference 1..1stringRelative reference to Anaesthetist
...... display 0..1stringAnaesthetist name
.... participant:usual-gp S0..1BackboneElementGeneral Practitioner
..... type 1..*CodeableConceptGP role type
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 59058001
....... display1..1stringRepresentation defined by the system
Fixed Value: General physician
..... individual S1..1Reference(MR Practitioner | MR PractitionerRole Contact)GP as user Practitioner or external PractitionerRole Contact
...... reference 1..1stringRelative reference to GP
...... display 0..1stringGP name
... appointment S0..1Reference(Appointment)Preadmission appointment
.... identifier 1..1IdentifierPreadmission appointment identifier
..... system 1..1uriFacility unique identifier in the form 'urn:uuid:<<practice-guid>>'.
..... value 1..1stringAppointment unique identifier
..... assigner 1..1Reference(Organization)Organization that issued id (may be just text)
...... display 1..1stringFacility name
... period 0..1PeriodThe actual start and end time of the encounter
.... start S1..1dateTimeThe actual start time of the encounter
.... end S0..1dateTimeThe actual end time of the encounter
... length S0..1DurationActual quantity of time the encounter lasted (less time absent)
.... code 1..1coded (days)
Fixed Value: d
... reasonCode S0..1CodeableConceptChief complaint of the patient for this encounter
Binding: EncounterReasonCodes (extensible)
.... coding 0..1CodingCode defined by a terminology system
.... text 1..1stringPlain text representation of the concept
... hospitalization
.... admitSource S0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
Binding: AdmitSource (extensible)
..... coding 0..1CodingCode defined by a terminology system
..... text 1..1stringPlain text representation of the concept
.... destination S0..1Reference(MR Organisation | MR Organisation Service Provider)Facility or external service provider to which the patient is discharged
..... reference 1..1stringRelative reference to destination facility/service provider
..... display 0..1stringFacility or external service provider name
.... dischargeDisposition S0..1CodeableConceptSeparation Mode
..... coding 0..1CodingCode defined by a terminology system
..... text 1..1stringPlain text representation of the concept
... location 0..1BackboneElementCurrent location of patient within the facility
.... location S1..1Reference(MR Location Admission)Venue of where the encounter took place
..... reference 1..1stringRelative reference to most specific Location of type Bed, Room or Ward
..... display 0..1stringContatenated description of location heirarchy including ward, bed and room
.... physicalType S1..1CodeableConceptwa (Ward) | ro (Room) | bd (Bed)
Binding: MediRecords Admission Encounter Location PhysicalType (required)
... serviceProvider S1..1Reference(MR Organisation)Facility where the patient is admitted
.... reference 1..1stringRelative reference to facility
.... display 0..1stringFacility name

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter C0..*AUBaseEncounterMediRecords Admission Encounter
inv-mr-consult-period-end-01: Medirecords supports period.end for only 'finished' consultation status
inv-mr-consult-period-end-02: Medirecords expects period.end value if the consultation status is set to 'finished'
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ0..1idVersion specific identifier
.... lastUpdated SΣ0..1instantWhen the resource version last changed
.... source Σ0..1uriIdentifies where the resource comes from
.... profile Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
.... security Σ0..*CodingSecurity Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... tag Σ0..*CodingTags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... encounterDescription 0..1stringDescription, 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
... plannedStartDate S0..1dateTimeThe planned start date/time (or admission date) of the encounter
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate
... plannedEndDate S0..1dateTimeThe planned end date/time (or discharge date) of the encounter
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate"
.... Slices for value[x] 1..1dateTimeThe planned end date/time (or discharge date) of the encounter
Slice: Unordered, Closed by type:$this
..... value[x]:valueDateTime C1..1dateTimeThe planned end date (or discharge date) of the encounter in the format YYYY-MM-DD
inv-mr-date-format-01: Date must be in YYYY-MM-DD format
... modeOfArrival S0..1CodingTransfer mode for the inpatient admission
URL: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival
Binding: hl7VS-modeOfArrivalCode (example): The method that the patient arrived at the facility.


.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival"
.... Slices for value[x] 1..1CodingValue of extension
Slice: Unordered, Closed by type:$this
Binding: hl7VS-modeOfArrivalCode (example): The method that the patient arrived at the facility.

..... value[x]:valueCoding 1..1CodingValue of extension
Binding: MediRecords Transfer Mode (extensible)
... reasonCancelled S0..1CodeableConceptReason code for admission cancellation
URL: http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled"
.... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... text Σ1..1stringPlain text representation of the concept
Max Length: 500
... comment S0..1stringComment related to the Encounter
URL: https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ0..*IdentifierIdentifier(s) by which this encounter is known
Slice: Unordered, Open by pattern:type
.... identifier:visit-number SΣ0..1IdentifierVisit number
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: VN
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system Σ1..1uriUnique tenant identifier in the form 'urn:uuid:<<tenant-guid>>'.
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringAdmission identifier (visit number)
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ1..1stringName of tenant
... status ?!SΣ1..1codeplanned | in-progress | finished | cancelled
Binding: MediRecords Admission Encounter Status (required)
... statusHistory 0..*BackboneElementList of past encounter statuses
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... status 1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): Current state of the encounter.

.... period 1..1PeriodThe time that the episode was in the specified status
... class SΣ1..1CodingIMP | EMER
Binding: MediRecords Admission Encounter Class (required)
... classHistory 0..*BackboneElementList of past encounter classes
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... class 1..1Codinginpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): Classification of the encounter.

.... period 1..1PeriodThe time that the episode was in the specified class
... type Σ0..*CodeableConceptSpecific type of encounter
Binding: EncounterType (example): The type of encounter.


... serviceType Σ0..1CodeableConceptSpecific type of service
Binding: ServiceType (example): Broad categorization of the service that is to be provided.

... priority S0..1CodeableConceptEmergency triage priority
Binding: MediRecords Triage Priority (extensible)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
.... text Σ1..1stringPlain text representation of the concept
... subject SΣ1..1Reference(MR Patient)The patient present at the encounter
... 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
... Slices for participant Σ0..*BackboneElementThis is about the participant who is the performer
Slice: Unordered, Open by pattern:type
.... participant:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ0..*CodeableConceptRole of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.


..... period 0..1PeriodPeriod of time during the encounter that the participant participated
..... individual Σ0..1Reference(Practitioner | PractitionerRole | RelatedPerson)Persons involved in the encounter other than the patient
.... participant:referring SΣ0..1BackboneElementReferring doctor
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ1..*CodeableConceptReferring doctor role type
Binding: ParticipantType (extensible): Role of participant in encounter.



Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ParticipationType
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: REF
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... period 0..1PeriodPeriod of time during the encounter that the participant participated
..... individual SΣ1..1Reference(MR Practitioner | MR PractitionerRole Contact)Referring doctor as user Practitioner or external PractitionerRole Contact
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC1..1stringRelative reference to Referring doctor
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ0..1stringReferring doctor name
.... participant:attending SΣ0..1BackboneElementAttending doctor
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ1..*CodeableConceptAttending doctor role type
Binding: ParticipantType (extensible): Role of participant in encounter.



Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ParticipationType
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ATND
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... period 0..1PeriodPeriod of time during the encounter that the participant participated
..... individual SΣ1..1Reference(MR Practitioner)Attending doctor as user Practitioner
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC1..1stringRelative reference to Attending doctor
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ0..1stringAttending provider name
.... participant:anaesthetist SΣ0..1BackboneElementAnaesthetist
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ1..*CodeableConceptAnaesthetist role type
Binding: ParticipantType (extensible): Role of participant in encounter.



Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 88189002
....... display1..1stringRepresentation defined by the system
Fixed Value: Anaesthesiologist
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... period 0..1PeriodPeriod of time during the encounter that the participant participated
..... individual SΣ1..1Reference(MR Practitioner)Anaesthetist as user Practitioner
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC1..1stringRelative reference to Anaesthetist
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ0..1stringAnaesthetist name
.... participant:usual-gp SΣ0..1BackboneElementGeneral Practitioner
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ1..*CodeableConceptGP role type
Binding: ParticipantType (extensible): Role of participant in encounter.



Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 59058001
....... display1..1stringRepresentation defined by the system
Fixed Value: General physician
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... period 0..1PeriodPeriod of time during the encounter that the participant participated
..... individual SΣ1..1Reference(MR Practitioner | MR PractitionerRole Contact)GP as user Practitioner or external PractitionerRole Contact
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC1..1stringRelative reference to GP
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ0..1stringGP name
... appointment SΣ0..1Reference(Appointment)Preadmission appointment
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ1..1IdentifierPreadmission appointment identifier
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriFacility unique identifier in the form 'urn:uuid:<<practice-guid>>'.
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringAppointment unique identifier
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ1..1Reference(Organization)Organization that issued id (may be just text)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ1..1stringFacility name
.... display Σ0..1stringText alternative for the resource
... period 0..1PeriodThe actual start and end time of the encounter
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC1..1dateTimeThe actual start time of the encounter
.... end SΣC0..1dateTimeThe actual end time of the encounter
... length S0..1DurationActual quantity of time the encounter lasted (less time absent)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... value Σ0..1decimalNumerical value (with implicit precision)
.... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

.... unit Σ0..1stringUnit representation
.... system ΣC0..1uriSystem that defines coded unit form
.... code Σ1..1coded (days)
Fixed Value: d
... reasonCode SΣ0..1CodeableConceptChief complaint of the patient for this encounter
Binding: EncounterReasonCodes (extensible)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..1CodingCode defined by a terminology system
.... text Σ1..1stringPlain text representation of the concept
... reasonReference Σ0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)Reason the encounter takes place (reference)
... diagnosis Σ0..*BackboneElementThe list of diagnosis relevant to this encounter
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... condition Σ1..1Reference(Condition | Procedure)The diagnosis or procedure relevant to the encounter
.... use 0..1CodeableConceptRole that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.

.... rank 0..1positiveIntRanking 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..1BackboneElementDetails about the admission to a healthcare service
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... preAdmissionIdentifier 0..1IdentifierPre-admission identifier
.... origin 0..1Reference(Location | Organization)The location/organization from which the patient came before admission
.... admitSource S0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
Binding: AdmitSource (extensible)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ0..1CodingCode defined by a terminology system
..... text Σ1..1stringPlain text representation of the concept
.... reAdmission 0..1CodeableConceptThe 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..*CodeableConceptDiet preferences reported by the patient
Binding: Diet (example): Medical, cultural or ethical food preferences to help with catering requirements.


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


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


.... destination S0..1Reference(MR Organisation | MR Organisation Service Provider)Facility or external service provider to which the patient is discharged
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC1..1stringRelative reference to destination facility/service provider
..... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
..... display Σ0..1stringFacility or external service provider name
.... dischargeDisposition S0..1CodeableConceptSeparation Mode
Binding: Separation Mode . (extensible)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ0..1CodingCode defined by a terminology system
..... text Σ1..1stringPlain text representation of the concept
... location 0..1BackboneElementCurrent location of patient within the facility
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... location S1..1Reference(MR Location Admission)Venue of where the encounter took place
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC1..1stringRelative reference to most specific Location of type Bed, Room or Ward
..... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
..... display Σ0..1stringContatenated description of location heirarchy including ward, bed and room
.... status 0..1codeplanned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.

.... physicalType S1..1CodeableConceptwa (Ward) | ro (Room) | bd (Bed)
Binding: MediRecords Admission Encounter Location PhysicalType (required)
.... period 0..1PeriodTime period during which the patient was present at the location
... serviceProvider S1..1Reference(MR Organisation)Facility where the patient is admitted
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringRelative reference to facility
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringFacility name
... partOf 0..1Reference(Encounter)Another Encounter this encounter is part of

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter 0..*AUBaseEncounterMediRecords Admission Encounter
... meta Σ0..1MetaMetadata about the resource
.... lastUpdated Σ0..1instantWhen the resource version last changed
... plannedStartDate 0..1dateTimeThe planned start date/time (or admission date) of the encounter
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate
... plannedEndDate 0..1dateTimeThe planned end date/time (or discharge date) of the encounter
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate
... reasonCancelled 0..1CodeableConceptReason code for admission cancellation
URL: http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled
... comment 0..1stringComment related to the Encounter
URL: https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext
... identifier:visit-number Σ0..1IdentifierVisit number
... status ?!Σ1..1codeplanned | in-progress | finished | cancelled
Binding: MediRecords Admission Encounter Status (required)
... class Σ1..1CodingIMP | EMER
Binding: MediRecords Admission Encounter Class (required)
... priority 0..1CodeableConceptEmergency triage priority
Binding: MediRecords Triage Priority (extensible)
... subject Σ1..1Reference(MR Patient)The patient present at the encounter
... participant:referring Σ0..1BackboneElementReferring doctor
.... individual Σ1..1Reference(MR Practitioner | MR PractitionerRole Contact)Referring doctor as user Practitioner or external PractitionerRole Contact
... participant:attending Σ0..1BackboneElementAttending doctor
.... individual Σ1..1Reference(MR Practitioner)Attending doctor as user Practitioner
... participant:anaesthetist Σ0..1BackboneElementAnaesthetist
.... individual Σ1..1Reference(MR Practitioner)Anaesthetist as user Practitioner
... participant:usual-gp Σ0..1BackboneElementGeneral Practitioner
.... individual Σ1..1Reference(MR Practitioner | MR PractitionerRole Contact)GP as user Practitioner or external PractitionerRole Contact
... appointment Σ0..1Reference(Appointment)Preadmission appointment
... period 0..1PeriodThe actual start and end time of the encounter
.... start ΣC1..1dateTimeThe actual start time of the encounter
.... end ΣC0..1dateTimeThe actual end time of the encounter
... length 0..1DurationActual quantity of time the encounter lasted (less time absent)
... reasonCode Σ0..1CodeableConceptChief complaint of the patient for this encounter
Binding: EncounterReasonCodes (extensible)
... hospitalization 0..1BackboneElementDetails about the admission to a healthcare service
.... admitSource 0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
Binding: AdmitSource (extensible)
.... destination 0..1Reference(MR Organisation | MR Organisation Service Provider)Facility or external service provider to which the patient is discharged
.... dischargeDisposition 0..1CodeableConceptSeparation Mode
Binding: Separation Mode . (extensible)
... location 0..1BackboneElementCurrent location of patient within the facility
.... location 1..1Reference(MR Location Admission)Venue of where the encounter took place
.... physicalType 1..1CodeableConceptwa (Ward) | ro (Room) | bd (Bed)
Binding: MediRecords Admission Encounter Location PhysicalType (required)
... serviceProvider 1..1Reference(MR Organisation)Facility where the patient is admitted

doco Documentation for this format

Differential View

This structure is derived from AUBaseEncounter

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter C0..*AUBaseEncounterMediRecords Admission Encounter
inv-mr-consult-period-end-01: Medirecords supports period.end for only 'finished' consultation status
inv-mr-consult-period-end-02: Medirecords expects period.end value if the consultation status is set to 'finished'
... meta
.... lastUpdated S0..1instantWhen the resource version last changed
... plannedStartDate S0..1dateTimeThe planned start date/time (or admission date) of the encounter
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate
... plannedEndDate S0..1dateTimeThe planned end date/time (or discharge date) of the encounter
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate
.... valueDateTime C1..1dateTimeThe planned end date (or discharge date) of the encounter in the format YYYY-MM-DD
inv-mr-date-format-01: Date must be in YYYY-MM-DD format
.... valueCoding 1..1CodingValue of extension
Binding: MediRecords Transfer Mode (extensible)
... reasonCancelled S0..1CodeableConceptReason code for admission cancellation
URL: http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled
.... valueCodeableConcept 1..1CodeableConceptValue of extension
..... coding 0..0
..... text 1..1stringPlain text representation of the concept
Max Length: 500
... comment S0..1stringComment related to the Encounter
URL: https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext
... Slices for identifier 0..*IdentifierIdentifier(s) by which this encounter is known
Slice: Unordered, Open by pattern:type
.... identifier:visit-number S0..1IdentifierVisit number
..... type 1..1CodeableConceptDescription of identifier
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: VN
..... system 1..1uriUnique tenant identifier in the form 'urn:uuid:<<tenant-guid>>'.
..... value 1..1stringAdmission identifier (visit number)
..... assigner
...... display 1..1stringName of tenant
... status S1..1codeplanned | in-progress | finished | cancelled
Binding: MediRecords Admission Encounter Status (required)
... class S1..1CodingIMP | EMER
Binding: MediRecords Admission Encounter Class (required)
... priority S0..1CodeableConceptEmergency triage priority
Binding: MediRecords Triage Priority (extensible)
.... text 1..1stringPlain text representation of the concept
... subject S1..1Reference(MR Patient)The patient present at the encounter
... Slices for participant 0..*BackboneElementThis is about the participant who is the performer
Slice: Unordered, Open by pattern:type
.... participant:referring S0..1BackboneElementReferring doctor
..... type 1..*CodeableConceptReferring doctor role type
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ParticipationType
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: REF
..... individual S1..1Reference(MR Practitioner | MR PractitionerRole Contact)Referring doctor as user Practitioner or external PractitionerRole Contact
...... reference 1..1stringRelative reference to Referring doctor
...... display 0..1stringReferring doctor name
.... participant:attending S0..1BackboneElementAttending doctor
..... type 1..*CodeableConceptAttending doctor role type
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ParticipationType
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ATND
..... individual S1..1Reference(MR Practitioner)Attending doctor as user Practitioner
...... reference 1..1stringRelative reference to Attending doctor
...... display 0..1stringAttending provider name
.... participant:anaesthetist S0..1BackboneElementAnaesthetist
..... type 1..*CodeableConceptAnaesthetist role type
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 88189002
....... display1..1stringRepresentation defined by the system
Fixed Value: Anaesthesiologist
..... individual S1..1Reference(MR Practitioner)Anaesthetist as user Practitioner
...... reference 1..1stringRelative reference to Anaesthetist
...... display 0..1stringAnaesthetist name
.... participant:usual-gp S0..1BackboneElementGeneral Practitioner
..... type 1..*CodeableConceptGP role type
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 59058001
....... display1..1stringRepresentation defined by the system
Fixed Value: General physician
..... individual S1..1Reference(MR Practitioner | MR PractitionerRole Contact)GP as user Practitioner or external PractitionerRole Contact
...... reference 1..1stringRelative reference to GP
...... display 0..1stringGP name
... appointment S0..1Reference(Appointment)Preadmission appointment
.... identifier 1..1IdentifierPreadmission appointment identifier
..... system 1..1uriFacility unique identifier in the form 'urn:uuid:<<practice-guid>>'.
..... value 1..1stringAppointment unique identifier
..... assigner 1..1Reference(Organization)Organization that issued id (may be just text)
...... display 1..1stringFacility name
... period 0..1PeriodThe actual start and end time of the encounter
.... start S1..1dateTimeThe actual start time of the encounter
.... end S0..1dateTimeThe actual end time of the encounter
... length S0..1DurationActual quantity of time the encounter lasted (less time absent)
.... code 1..1coded (days)
Fixed Value: d
... reasonCode S0..1CodeableConceptChief complaint of the patient for this encounter
Binding: EncounterReasonCodes (extensible)
.... coding 0..1CodingCode defined by a terminology system
.... text 1..1stringPlain text representation of the concept
... hospitalization
.... admitSource S0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
Binding: AdmitSource (extensible)
..... coding 0..1CodingCode defined by a terminology system
..... text 1..1stringPlain text representation of the concept
.... destination S0..1Reference(MR Organisation | MR Organisation Service Provider)Facility or external service provider to which the patient is discharged
..... reference 1..1stringRelative reference to destination facility/service provider
..... display 0..1stringFacility or external service provider name
.... dischargeDisposition S0..1CodeableConceptSeparation Mode
..... coding 0..1CodingCode defined by a terminology system
..... text 1..1stringPlain text representation of the concept
... location 0..1BackboneElementCurrent location of patient within the facility
.... location S1..1Reference(MR Location Admission)Venue of where the encounter took place
..... reference 1..1stringRelative reference to most specific Location of type Bed, Room or Ward
..... display 0..1stringContatenated description of location heirarchy including ward, bed and room
.... physicalType S1..1CodeableConceptwa (Ward) | ro (Room) | bd (Bed)
Binding: MediRecords Admission Encounter Location PhysicalType (required)
... serviceProvider S1..1Reference(MR Organisation)Facility where the patient is admitted
.... reference 1..1stringRelative reference to facility
.... display 0..1stringFacility name

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Encounter C0..*AUBaseEncounterMediRecords Admission Encounter
inv-mr-consult-period-end-01: Medirecords supports period.end for only 'finished' consultation status
inv-mr-consult-period-end-02: Medirecords expects period.end value if the consultation status is set to 'finished'
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ0..1idVersion specific identifier
.... lastUpdated SΣ0..1instantWhen the resource version last changed
.... source Σ0..1uriIdentifies where the resource comes from
.... profile Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
.... security Σ0..*CodingSecurity Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... tag Σ0..*CodingTags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... encounterDescription 0..1stringDescription, 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
... plannedStartDate S0..1dateTimeThe planned start date/time (or admission date) of the encounter
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate
... plannedEndDate S0..1dateTimeThe planned end date/time (or discharge date) of the encounter
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate"
.... Slices for value[x] 1..1dateTimeThe planned end date/time (or discharge date) of the encounter
Slice: Unordered, Closed by type:$this
..... value[x]:valueDateTime C1..1dateTimeThe planned end date (or discharge date) of the encounter in the format YYYY-MM-DD
inv-mr-date-format-01: Date must be in YYYY-MM-DD format
... modeOfArrival S0..1CodingTransfer mode for the inpatient admission
URL: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival
Binding: hl7VS-modeOfArrivalCode (example): The method that the patient arrived at the facility.


.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival"
.... Slices for value[x] 1..1CodingValue of extension
Slice: Unordered, Closed by type:$this
Binding: hl7VS-modeOfArrivalCode (example): The method that the patient arrived at the facility.

..... value[x]:valueCoding 1..1CodingValue of extension
Binding: MediRecords Transfer Mode (extensible)
... reasonCancelled S0..1CodeableConceptReason code for admission cancellation
URL: http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled
.... id 0..1idUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled"
.... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... text Σ1..1stringPlain text representation of the concept
Max Length: 500
... comment S0..1stringComment related to the Encounter
URL: https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ0..*IdentifierIdentifier(s) by which this encounter is known
Slice: Unordered, Open by pattern:type
.... identifier:visit-number SΣ0..1IdentifierVisit number
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: VN
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system Σ1..1uriUnique tenant identifier in the form 'urn:uuid:<<tenant-guid>>'.
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringAdmission identifier (visit number)
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ1..1stringName of tenant
... status ?!SΣ1..1codeplanned | in-progress | finished | cancelled
Binding: MediRecords Admission Encounter Status (required)
... statusHistory 0..*BackboneElementList of past encounter statuses
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... status 1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): Current state of the encounter.

.... period 1..1PeriodThe time that the episode was in the specified status
... class SΣ1..1CodingIMP | EMER
Binding: MediRecords Admission Encounter Class (required)
... classHistory 0..*BackboneElementList of past encounter classes
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... class 1..1Codinginpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): Classification of the encounter.

.... period 1..1PeriodThe time that the episode was in the specified class
... type Σ0..*CodeableConceptSpecific type of encounter
Binding: EncounterType (example): The type of encounter.


... serviceType Σ0..1CodeableConceptSpecific type of service
Binding: ServiceType (example): Broad categorization of the service that is to be provided.

... priority S0..1CodeableConceptEmergency triage priority
Binding: MediRecords Triage Priority (extensible)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
.... text Σ1..1stringPlain text representation of the concept
... subject SΣ1..1Reference(MR Patient)The patient present at the encounter
... 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
... Slices for participant Σ0..*BackboneElementThis is about the participant who is the performer
Slice: Unordered, Open by pattern:type
.... participant:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ0..*CodeableConceptRole of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.


..... period 0..1PeriodPeriod of time during the encounter that the participant participated
..... individual Σ0..1Reference(Practitioner | PractitionerRole | RelatedPerson)Persons involved in the encounter other than the patient
.... participant:referring SΣ0..1BackboneElementReferring doctor
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ1..*CodeableConceptReferring doctor role type
Binding: ParticipantType (extensible): Role of participant in encounter.



Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ParticipationType
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: REF
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... period 0..1PeriodPeriod of time during the encounter that the participant participated
..... individual SΣ1..1Reference(MR Practitioner | MR PractitionerRole Contact)Referring doctor as user Practitioner or external PractitionerRole Contact
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC1..1stringRelative reference to Referring doctor
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ0..1stringReferring doctor name
.... participant:attending SΣ0..1BackboneElementAttending doctor
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ1..*CodeableConceptAttending doctor role type
Binding: ParticipantType (extensible): Role of participant in encounter.



Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ParticipationType
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: ATND
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... period 0..1PeriodPeriod of time during the encounter that the participant participated
..... individual SΣ1..1Reference(MR Practitioner)Attending doctor as user Practitioner
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC1..1stringRelative reference to Attending doctor
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ0..1stringAttending provider name
.... participant:anaesthetist SΣ0..1BackboneElementAnaesthetist
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ1..*CodeableConceptAnaesthetist role type
Binding: ParticipantType (extensible): Role of participant in encounter.



Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 88189002
....... display1..1stringRepresentation defined by the system
Fixed Value: Anaesthesiologist
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... period 0..1PeriodPeriod of time during the encounter that the participant participated
..... individual SΣ1..1Reference(MR Practitioner)Anaesthetist as user Practitioner
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC1..1stringRelative reference to Anaesthetist
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ0..1stringAnaesthetist name
.... participant:usual-gp SΣ0..1BackboneElementGeneral Practitioner
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ1..*CodeableConceptGP role type
Binding: ParticipantType (extensible): Role of participant in encounter.



Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://snomed.info/sct
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: 59058001
....... display1..1stringRepresentation defined by the system
Fixed Value: General physician
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... period 0..1PeriodPeriod of time during the encounter that the participant participated
..... individual SΣ1..1Reference(MR Practitioner | MR PractitionerRole Contact)GP as user Practitioner or external PractitionerRole Contact
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC1..1stringRelative reference to GP
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ0..1stringGP name
... appointment SΣ0..1Reference(Appointment)Preadmission appointment
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ1..1IdentifierPreadmission appointment identifier
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system Σ1..1uriFacility unique identifier in the form 'urn:uuid:<<practice-guid>>'.
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringAppointment unique identifier
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ1..1Reference(Organization)Organization that issued id (may be just text)
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
...... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

...... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
...... display Σ1..1stringFacility name
.... display Σ0..1stringText alternative for the resource
... period 0..1PeriodThe actual start and end time of the encounter
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC1..1dateTimeThe actual start time of the encounter
.... end SΣC0..1dateTimeThe actual end time of the encounter
... length S0..1DurationActual quantity of time the encounter lasted (less time absent)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... value Σ0..1decimalNumerical value (with implicit precision)
.... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

.... unit Σ0..1stringUnit representation
.... system ΣC0..1uriSystem that defines coded unit form
.... code Σ1..1coded (days)
Fixed Value: d
... reasonCode SΣ0..1CodeableConceptChief complaint of the patient for this encounter
Binding: EncounterReasonCodes (extensible)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..1CodingCode defined by a terminology system
.... text Σ1..1stringPlain text representation of the concept
... reasonReference Σ0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)Reason the encounter takes place (reference)
... diagnosis Σ0..*BackboneElementThe list of diagnosis relevant to this encounter
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... condition Σ1..1Reference(Condition | Procedure)The diagnosis or procedure relevant to the encounter
.... use 0..1CodeableConceptRole that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents.

.... rank 0..1positiveIntRanking 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..1BackboneElementDetails about the admission to a healthcare service
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... preAdmissionIdentifier 0..1IdentifierPre-admission identifier
.... origin 0..1Reference(Location | Organization)The location/organization from which the patient came before admission
.... admitSource S0..1CodeableConceptFrom where patient was admitted (physician referral, transfer)
Binding: AdmitSource (extensible)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ0..1CodingCode defined by a terminology system
..... text Σ1..1stringPlain text representation of the concept
.... reAdmission 0..1CodeableConceptThe 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..*CodeableConceptDiet preferences reported by the patient
Binding: Diet (example): Medical, cultural or ethical food preferences to help with catering requirements.


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


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


.... destination S0..1Reference(MR Organisation | MR Organisation Service Provider)Facility or external service provider to which the patient is discharged
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC1..1stringRelative reference to destination facility/service provider
..... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
..... display Σ0..1stringFacility or external service provider name
.... dischargeDisposition S0..1CodeableConceptSeparation Mode
Binding: Separation Mode . (extensible)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ0..1CodingCode defined by a terminology system
..... text Σ1..1stringPlain text representation of the concept
... location 0..1BackboneElementCurrent location of patient within the facility
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... location S1..1Reference(MR Location Admission)Venue of where the encounter took place
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC1..1stringRelative reference to most specific Location of type Bed, Room or Ward
..... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

..... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
..... display Σ0..1stringContatenated description of location heirarchy including ward, bed and room
.... status 0..1codeplanned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.

.... physicalType S1..1CodeableConceptwa (Ward) | ro (Room) | bd (Bed)
Binding: MediRecords Admission Encounter Location PhysicalType (required)
.... period 0..1PeriodTime period during which the patient was present at the location
... serviceProvider S1..1Reference(MR Organisation)Facility where the patient is admitted
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringRelative reference to facility
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringFacility name
... partOf 0..1Reference(Encounter)Another Encounter this encounter is part of

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / CodeURI
Encounter.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
Encounter.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
Encounter.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Encounter.extension:modeOfArrival.value[x]exampleHl7VSModeOfArrivalCode
http://terminology.hl7.org/ValueSet/v2-0430
Encounter.extension:modeOfArrival.value[x]:valueCodingextensibleMRTransferMode
https://fhir.medirecords.com/ValueSet/mr-transfer-mode
from this IG
Encounter.identifier:visit-number.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Encounter.identifier:visit-number.typeextensiblePattern: VN
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Encounter.identifier:visit-number.assigner.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Encounter.statusrequiredMREncounterAdmissionStatus
https://fhir.medirecords.com/ValueSet/mr-encounter-admission-status
from this IG
Encounter.statusHistory.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
from the FHIR Standard
Encounter.classrequiredMREncounterAdmissionClass
https://fhir.medirecords.com/ValueSet/mr-encounter-admission-class
from this IG
Encounter.classHistory.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
Encounter.typeexampleEncounterType
http://hl7.org/fhir/ValueSet/encounter-type
from the FHIR Standard
Encounter.serviceTypeexampleServiceType
http://hl7.org/fhir/ValueSet/service-type
from the FHIR Standard
Encounter.priorityextensibleMRTriagePriority
https://fhir.medirecords.com/ValueSet/mr-triage-priority
from this IG
Encounter.participant.typeextensibleParticipantType
http://hl7.org/fhir/ValueSet/encounter-participant-type
from the FHIR Standard
Encounter.participant:referring.typeextensiblePattern: REF
http://hl7.org/fhir/ValueSet/encounter-participant-type
from the FHIR Standard
Encounter.participant:referring.individual.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Encounter.participant:attending.typeextensiblePattern: ATND
http://hl7.org/fhir/ValueSet/encounter-participant-type
from the FHIR Standard
Encounter.participant:attending.individual.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Encounter.participant:anaesthetist.typeextensiblePattern: SNOMED CT code 88189002("Anaesthesiologist")
http://hl7.org/fhir/ValueSet/encounter-participant-type
from the FHIR Standard
Encounter.participant:anaesthetist.individual.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Encounter.participant:usual-gp.typeextensiblePattern: SNOMED CT code 59058001("General physician")
http://hl7.org/fhir/ValueSet/encounter-participant-type
from the FHIR Standard
Encounter.participant:usual-gp.individual.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Encounter.appointment.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Encounter.appointment.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Encounter.appointment.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Encounter.appointment.identifier.assigner.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Encounter.length.comparatorrequiredQuantityComparator
http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
from the FHIR Standard
Encounter.reasonCodeextensibleEncounterReasonCodes
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.admitSourceextensibleAdmitSource
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.destination.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
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.location.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Encounter.location.statusrequiredEncounterLocationStatus
http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1
from the FHIR Standard
Encounter.location.physicalTyperequiredMREncounterAdmissionLocationPhysicalType
https://fhir.medirecords.com/ValueSet/mr-encounter-admission-locationPhysicalType
from this IG
Encounter.serviceProvider.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
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()
inv-mr-consult-period-end-01errorEncounterMedirecords supports period.end for only 'finished' consultation status
: period.end.exists() implies (status = 'finished')
inv-mr-consult-period-end-02errorEncounterMedirecords expects period.end value if the consultation status is set to 'finished'
: status = 'finished' implies (period.end.exists())
inv-mr-date-format-01errorEncounter.extension:plannedEndDate.value[x]:valueDateTimeDate must be in YYYY-MM-DD format
: ($this as dateTime).toString().matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$')