Examples EncounterPrehospital
Introduction
An example payload for a PUT operation for EncounterPrehospital.
Example Payload
Example: Creating an Ambulance Contact
The following is an example of a request for creating or updating an ambulance contact.
Request
PUT [baseURL]/subscription/Encounter/432
| Encounter |
| id : 234567 |
| meta |
| lastUpdated : 2022-06-29T09:51:22.3037087+00:00 |
| source : https://secure.externalSystem.com:1802/fhir/Encounter/acd200b7-7061-46a5-8d33-9a03b819a363 |
| profile : https://fhir.cambio.se/StructureDefinition/EncounterPreHospital/v1 |
| language : sv |
| identifier |
| system : https://secure.externalSystem.com:1802/fhir/Encounter |
| value : 234567 |
| status : in-progress |
| class |
| system : http://terminology.hl7.org/CodeSystem/v3-ActCode |
| version : 2018-08-12 |
| code : EMER |
| type |
| coding |
| system : http://snomed.info/sct |
| code : 308335008 |
| subject |
| reference : https://secure.externalSystem.com:1802/fhir/Patient/acd200b7-7061-46a5-8d33-9a03b819a363 |
| identifier |
| use : official |
| system : urn:oid:1.2.752.129.2.1.3.1 |
| value : 19121212-1212 |
| participant |
| individual |
| reference : https://secure.externalSystem.com:1802/fhir/Practitioner/acd200b7-7061-46a5-8d33-9a03b819a363 |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : 234 |
| period |
| start : 2022-06-29T09:28:22.3037087+00:00 |
| hospitalization |
| destination |
| reference : https://secure.externalSystem.com:1802/fhir/Destination/acd200b7-7061-46a5-8d33-9a03b819a363 |
| type : Organization |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : 456 |
| location |
| location |
| reference : https://secure.externalSystem.com:1802/fhir/Location/acd200b7-7061-46a5-8d33-9a03b819a363 |
| type : Location |
| identifier |
| system : https://cambio.codes/msb/is/rakel |
| value : 987 |
| physicalType |
| coding |
| system : http://snomed.info/sct |
| code : 465341007 |
| text : Automobile ambulance |
Example: Closing an Ambulnace Contact
Request
PUT [baseURL]/subscription/Encounter/432
| Encounter |
| id : 456 |
| meta |
| lastUpdated : 2020-06-22T09:45:10.752+02:00 |
| source : https://secure.externalSystem.com:1802/fhir/Encounter/acd200b7-7061-46a5-8d33-9a03b819a363 |
| profile : https://fhir.cambio.se/StructureDefinition/EncounterPreHospital/v1 |
| language : sv |
| identifier |
| system : https://secure.externalSystem.com:1802/fhir/Encounter |
| value : 456 |
| status : finished |
| class |
| system : http://terminology.hl7.org/CodeSystem/v3-ActCode |
| version : 2018-08-12 |
| code : EMER |
| type |
| coding |
| system : http://snomed.info/sct |
| code : 308335008 |
| subject |
| reference : https://secure.externalSystem.com:1802/fhir/Patient/acd200b7-7061-46a5-8d33-9a03b819a363 |
| identifier |
| use : official |
| system : urn:oid:1.2.752.129.2.1.3.1 |
| value : 19121212-1212 |
| participant |
| individual |
| reference : https://secure.externalSystem.com:1802/fhir/Practitioner/acd200b7-7061-46a5-8d33-9a03b819a363 |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : 234 |
| period |
| start : 2020-06-22T09:45:10.752+02:00 |
| end : 2020-06-22T09:57:10.752+02:00 |
| hospitalization |
| destination |
| reference : https://secure.externalSystem.com:1802/fhir/Destination/acd200b7-7061-46a5-8d33-9a03b819a363 |
| type : Organization |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : 987 |
| location |
| location |
| reference : https://secure.externalSystem.com:1802/fhir/Location/acd200b7-7061-46a5-8d33-9a03b819a363 |
| type : Location |
| identifier |
| system : https://cambio.codes/msb/is/rakel |
| value : 123-223 |
| physicalType |
| coding |
| system : http://snomed.info/sct |
| code : 465341007 |
| text : Automobile ambulance |