API - Send Vital Signs
This API sends the vital signs readings of the patient
Scope
This transaction involves the requestor sending a POST request to the FHIR service to submit an Observation resource. The request is received by the FHIR Service that extracts and assemble the vital signs readings as per the RCM HL7 FHIR Implementation Guide specification and creates the record.
Upon successful creation, the FHIR Service returns an HTTP response code (i.e 2xx) and the same Observation resource, together with the observation id.
For unsuccessful creation, the FHIR Service returns an HTTP response code (i.e 4xx or 5xx) and an OperationOutcome resource.
Interaction Diagram
Specification
The Send Vital Signs FHIR specification is based on the HL7 FHIR R5 Create operation. (Ref: https://www.hl7.org/fhir/http.html#create)
Send Vital Signs Request
The Send Vital Signs Request will create a new observation record,if one does not already exist in the repository. If there is already an existing record, the newly submitted version will replace the existing version in the repository.
The Send Vital Signs Request creates a new resource in a server-assigned location. The create interaction is performed by an HTTP POST command as shown:
POST [baseURL]/observation
Example Send Vital Signs Message
HTTP Method:
POST
Headers:
Content-Type: application/fhir+json
Address:
[baseURL]/observation
Message Body:
Send Vital Signs Response
HTTP Status Code | Resource | Example |
---|---|---|
201 Created | Observation | Observation response |
4xx, 5xx | OperationOutcome | OperationOutcome |
Business Level Errors
This section details the business level errors exposed by OperationOutcome resource for this operation. Refer to API Error Handling for framework level errors.
For illustration only
http status code | code | details.coding.code | details.text |
---|---|---|---|
400 | duplicate | E-10004 | An attempt was made to create a duplicate record |