EncounterPrehospital

Introduction

The EncounterPrehospital profile is created from the FHIR resource Encounter.

Intended Use

EncounterPrehospital is used to create an ambulance contact in COSMIC from an external ambulance system when a patient is coming in to the hospital by ambulance.

Lock Functionality

If a certain type of resource is updated, but with the same (or older) lastUpdatedTime, the update will fail. The code which is returned is 200 OK. If the header prefer:return=OperationOutcome is added, a message will be received describing the error.

Specific Rules and Limitations

Type Description
Rule If the patient is changed in the ambulance system, the contact should be invalidated in COSMIC and a new contact is created on the new patient.
Rule The intended users of this API are healthcare professionals.

Profile Overview

EncounterPreHospital

idΣ0..1string
id0..1string
extensionI0..*Extension
versionIdΣ0..1id
lastUpdatedΣ0..1instant
sourceS Σ0..1uri
profileΣ1..*canonical(StructureDefinition)
securityΣ0..0CodingBinding
tagΣ0..0Coding
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionI0..*Extension
modifierExtension?! I0..*Extension
id0..1string
extensionI0..*Extension
useΣ ?!0..0codeBinding
typeΣ0..0CodeableConceptBinding
systemΣ1..1uri
valueΣ1..1string
periodΣ I0..0Period
assignerΣ I0..0Reference(Organization)
statusΣ ?!1..1codeBinding
id0..1string
extensionI0..*Extension
systemΣ1..1uriFixed Value
versionΣ1..1stringFixed Value
codeΣ1..1codeFixed Value
displayΣ0..1string
userSelectedΣ0..0boolean
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemΣ1..1uriFixed Value
versionΣ0..1string
codeΣ1..1codeFixed Value
displayΣ0..1string
userSelectedΣ0..0boolean
textΣ0..1string
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBinding
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBindingFixed Value
typeΣ0..1CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
displayΣ0..1string
episodeOfCareΣ I0..0Reference(EpisodeOfCare)
basedOnI0..0Reference(ServiceRequest)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
typeΣ0..1CodeableConceptBinding
periodI0..0Period
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBinding
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
displayΣ0..1string
appointmentΣ I0..0Reference(Appointment)
id0..1string
extensionI0..*Extension
startΣ I1..1dateTime
endΣ I0..1dateTime
lengthI0..0Duration
reasonReferenceΣ I0..0Reference(Condition | Procedure | Observation | ImmunizationRecommendation)
accountI0..0Reference(Account)
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueDateTimedateTime
modifierExtensionΣ ?! I0..*Extension
preAdmissionIdentifier0..0Identifier
originI0..0Reference(Location | Organization)
admitSource0..0CodeableConceptBinding
reAdmission0..0CodeableConcept
dietPreference0..0CodeableConcept
specialCourtesy0..0CodeableConceptBinding
specialArrangement0..0CodeableConceptBinding
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBinding
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
displayΣ0..1string
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBindingFixed Value
id0..1string
extensionI0..*Extension
useΣ ?!0..0codeBinding
typeΣ0..0CodeableConceptBinding
systemΣ1..1uriFixed Value
valueΣ1..1string
periodΣ I0..0Period
assignerΣ I0..0Reference(Organization)
displayΣ0..1string
dischargeDisposition0..0CodeableConcept
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBindingFixed Value
identifierΣ0..1Identifier
displayΣ0..0string
status0..0codeBinding
physicalType0..1CodeableConcept
periodI0..0Period
serviceProviderI0..0Reference(Organization)
partOfI0..0Reference(Encounter)

version 2, the extension RegisterPaymentPossible has been removed.

Statuses

FHIR status Status in COSMIC
In progress Open
Finished Performed
Cancelled Cancelled
Entered in error Invalidated

Versions

COS version Profile version Required COSMIC version Date Description
3.0.0 1.0.0 R8.3.05 June 2020 initial version, support for PUT

Supported Operations

HTTP Methods

Method Description
PUT Create an ambulance contact in COSMIC

Query Operations

Search Parameters

N/A

Supported Queries

  1. PUT [baseURL]subscription/Bundle/external-ID (PUT)

Supported SearchInclude Operations

N/A

Supported RevInclude Operations

N/A

Error Codes

No specific error codes for EncounterPrehospital. For common codes, refer to Error handling section.