Overview

Vital Signs are represented as an FHIR Observation resources, restricted by US Core Vital Signs Profile. Each specific vital sign should also conform to its own profile as it is listed below:

Supported Profiles

Vital SignUS Core ProfileObservation LOINC code
Systolic\Diastolic blood pressureUS Core Blood Pressure Profile85354-9
Heart RateUS Core Heart Rate Profile8867-4
Respiratory rateUS Core Respiratory Rate Profile9279-1
Body temperatureUS Core Body Temperature Profile8310-5
Body heightUS Core Body Height Profile8302-2
Body weightUS Core Body Weight Profile29463-7
Pulse oximetryUS Core Pulse Oximetry Profile59408-5 and 2708-6
BMI Percentile (2 - 20 years)US Core Pediatric BMI for Age Observation Profile59576-9
Pediatric Weight for Height Observation (Birth - 36 Months)US Core Pediatric Weight for Height Observation Profile77606-2
Head Occipital-frontal Circumference Percentile (Birth - 36 Months)US Core Pediatric Head Occipital-frontal Circumference Percentile Profile8289-1

Each Observation has next elements:

  • a status
  • a category code of “vital-signs”
  • a LOINC code, if available, which tells you what is being measured
  • a patient
  • a clinically relevant time

Each Observation must support:

  • a result value
    • if the result value is a numeric quantity, a standard UCUM unit
  • a reason if the value is absent*
  • component results

Must support elements, mandatory and optional search parameters

Observation must support these elements:

  • status
  • Slices for category
    • category:VSCat
      • coding
        -system
        -code
  • code
  • subject
  • effectiveDateTime
  • valueQuantity
  • dataAbsentReason
  • component
    -code
    -valueQuantity
    -dataAbsentReason

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

SHALL support searching for all Observation for a patient using the patient and category search parameters:

GET [base url]/Observation?patient={Type/}[id]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs

SHALL support searching using the combination of the patient and code search parameters:

  • including optional support for OR search on code (e.g.code={system|}|{code},{system|}|{code},...)

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

SHALL support searching using the combination of the patient and category and date search parameters:

  • including support for these date comparators: gt,lt,ge,le
  • including optional support for AND search on date (e.g.date={date}&date={date}...)
    GET [base url]/Observation?patient={Type/}[id]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}{date}}

The following search parameters and search parameter combinations SHOULD be supported:
SHOULD support searching using the combination of the patient and category and status search parameters:

  • including support for OR search on status (e.g.status={system|}|{code},{system|}|{code},...)

GET [base url]/Observation?patient={Type/}[id]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}|{code}

SHOULD support searching using the combination of the patient and code and date search parameters:

  • including optional support for OR search on code (e.g.code={system|}|{code},{system|}|{code},...)
  • including support for these date comparators: gt,lt,ge,le
  • including optional support for AND search on date (e.g.date={date}&date={date}...)

GET [base url]/Observation?patient={Type/}[id]&code={system|}|{code},{system|}|{code},...}&date={gt|lt|ge|le}{date}

The response to any search operation is always a list of resources in a Bundle or an Operation Outcome.

Observation By Patient Id

Search for Observation by patient.

METHOD GET

[base url]/Observation?patient={Type/}[id]

PARAMS
[base url] - FHIR base url
[id] - Id for the Patient

HEADERS

The Authorization token SHALL be obtained during Authentication and Authorization process. Goto Authentication and Authorization for further details.

HeaderTypeRequired/OptionalValue
Authorizationstringrequired'Bearer'

RESPONSES

CodeDescriptionComment
200OKThe request was processed successfully
400Bad requestInvalid request parameters or FHIR operation outcome resource returned
401UnauthorizedThis code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource
404no Route matched with those valuesThe request was able to communicate with a given server, but the server could not find what was requested
500Internal Server ErrorThe server has encountered a situation it doesn't know how to handle

EXAMPLE:

curl --location --request GET 'https://sandbox.fhir.elationemr.com/fhir/Observation?patient=Patient/c5137fa5-3216-b12a-cbbc-a0c6bef361g7' \
--header 'Authorization: Bearer fe1cd986-1ac7-4c26-b8b3-d632a48408fd'

Observation By Id

Get Observation by ID.

METHOD GET

[base url]/Observation/{id}

or

[base url]/Observation?_id={id}

PARAMS
[base url] - FHIR base url
{id} - Id for Observation resource

HEADERS

The Authorization token SHALL be obtained during Authentication and Authorization process. Goto Authentication and Authorization for further details.

HeaderTypeRequired/OptionalValue
Authorizationstringrequired'Bearer'

RESPONSES

CodeDescriptionComment
200OKThe request was processed successfully
400Bad requestInvalid request parameters or FHIR operation outcome resource returned
401UnauthorizedThis code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource
404no Route matched with those valuesThe request was able to communicate with a given server, but the server could not find what was requested
500Internal Server ErrorThe server has encountered a situation it doesn't know how to handle

EXAMPLE:

curl --location --request GET 'https://sandbox.fhir.elationemr.com/fhir/Observation/c5137fa5-3216-b12a-cbbc-a0c6bef361g7' \
--header 'Authorization: Bearer fe1cd986-1ac7-4c26-b8b3-d632a48408fd'

Observation by patient and category

Get Observations for the specified patient and category search parameters:

METHOD GET

`GET [base url]/Observation?patient={Type/}[id]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs`

PARAMS
[base url] - FHIR base url
[id] - patient id
{Type/} - Type for the Reference. Example: Patient

HEADERS

The Authorization token SHALL be obtained during Authentication and Authorization process. Goto Authentication and Authorization for further details.

HeaderTypeRequired/OptionalValue
Authorizationstringrequired'Bearer'

RESPONSES

CodeDescriptionComment
200OKThe request was processed successfully
400Bad requestInvalid request parameters or FHIR operation outcome resource returned
401UnauthorizedThis code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource
404no Route matched with those valuesThe request was able to communicate with a given server, but the server could not find what was requested
500Internal Server ErrorThe server has encountered a situation it doesn't know how to handle

EXAMPLE:

curl --location --request GET 'https://sandbox.fhir.elationemr.com/fhir/Observation?patient=Patient/fe1cd986-1ac7-4c26-b8b3-d632a48408fd&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs' \
--header 'Authorization: Bearer 1239b275-909e-4754-8f73-1e411fd6769e'

Observation by patient and code

Get Observations for the specified patient and code search parameters:

METHOD GET

`GET [base url]/Observation?patient={Type/}[id]&code={system|}|{code}{,{system|}|{code},...}`

PARAMS
[base url] - FHIR base url
[id] - patient id
{Type/} - Type for the Reference. Example: Patient
{code} - observation code
{system|} - terminology system used to represend observation code

HEADERS

The Authorization token SHALL be obtained during Authentication and Authorization process. Goto Authentication and Authorization for further details.

HeaderTypeRequired/OptionalValue
Authorizationstringrequired'Bearer'

RESPONSES

CodeDescriptionComment
200OKThe request was processed successfully
400Bad requestInvalid request parameters or FHIR operation outcome resource returned
401UnauthorizedThis code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource
404no Route matched with those valuesThe request was able to communicate with a given server, but the server could not find what was requested
500Internal Server ErrorThe server has encountered a situation it doesn't know how to handle

EXAMPLE:

curl --location --request GET 'https://sandbox.fhir.elationemr.com/fhir/Observation?patient=Patient/fe1cd986-1ac7-4c26-b8b3-d632a48408fd&code=http://loinc.org|8867-4,http://loinc.org|9279-1,http://loinc.org|85354-9' \
--header 'Authorization: Bearer 1239b275-909e-4754-8f73-1e411fd6769e'

Observation by patient and category and date search parameters

Get Observations for the specified patient and category and date search parameters:

METHOD GET

`GET [base url]/Observation?patient={Type/}[id]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}{date}`

PARAMS

[base url] - FHIR base url
[id] - patient id
{Type/} - Type for the Reference. Example: Patient
{date} - observation effective date
{gt|lt|ge|le} - prefix for date value

HEADERS

The Authorization token SHALL be obtained during Authentication and Authorization process. Goto Authentication and Authorization for further details.

HeaderTypeRequired/OptionalValue
Authorizationstringrequired'Bearer'

RESPONSES

CodeDescriptionComment
200OKThe request was processed successfully
400Bad requestInvalid request parameters or FHIR operation outcome resource returned
401UnauthorizedThis code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource
404no Route matched with those valuesThe request was able to communicate with a given server, but the server could not find what was requested
500Internal Server ErrorThe server has encountered a situation it doesn't know how to handle

EXAMPLE:

curl --location --request GET 'https://sandbox.fhir.elationemr.com/fhir/Observation?patient=Patient/fe1cd986-1ac7-4c26-b8b3-d632a48408fd&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date=ge2020-01-01T00:00:00Z' \
--header 'Authorization: Bearer 1239b275-909e-4754-8f73-1e411fd6769e'

Observation by patient and category and status search parameters

Get Observations for the specified patient and category and status search parameters::

METHOD GET

`GET [base url]/Observation?patient={Type/}[id]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}|{code}`

PARAMS

[base url] - FHIR base url
[id] - patient id
{Type/} - Type for the Reference. Example: Patient
{date} - observation effective date
{gt|lt|ge|le} - prefix for date value

HEADERS

The Authorization token SHALL be obtained during Authentication and Authorization process. Goto Authentication and Authorization for further details.

HeaderTypeRequired/OptionalValue
Authorizationstringrequired'Bearer'

RESPONSES

CodeDescriptionComment
200OKThe request was processed successfully
400Bad requestInvalid request parameters or FHIR operation outcome resource returned
401UnauthorizedThis code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource
404no Route matched with those valuesThe request was able to communicate with a given server, but the server could not find what was requested
500Internal Server ErrorThe server has encountered a situation it doesn't know how to handle

EXAMPLE:

curl --location --request GET 'https://sandbox.fhir.elationemr.com/fhir/Observation?patient=Patient/fe1cd986-1ac7-4c26-b8b3-d632a48408fd&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status=final' \
--header 'Authorization: Bearer 1239b275-909e-4754-8f73-1e411fd6769e'

Observation by patient and code and date search parameters

Get Observations for the specified patient and code and date search parameters:

METHOD GET

`GET [base url]/Observation?patient={Type/}[id]&code={system|}|{code},{system|}|{code},...}&date={gt|lt|ge|le}{date}`

PARAMS
[base url] - FHIR base url
[id] - patient id
{Type/} - Type for the Reference. Example: Patient
{date} - observation effective date
{gt|lt|ge|le} - prefix for date value
{code} - observation code
{system|} - terminology system used to represend observation code

HEADERS

The Authorization token SHALL be obtained during Authentication and Authorization process. Goto Authentication and Authorization for further details.

HeaderTypeRequired/OptionalValue
Authorizationstringrequired'Bearer'

RESPONSES

CodeDescriptionComment
200OKThe request was processed successfully
400Bad requestInvalid request parameters or FHIR operation outcome resource returned
401UnauthorizedThis code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource
404no Route matched with those valuesThe request was able to communicate with a given server, but the server could not find what was requested
500Internal Server ErrorThe server has encountered a situation it doesn't know how to handle

EXAMPLE:

curl --location --request GET 'https://sandbox.fhir.elationemr.com/fhir/Observation?patient=Patient/fe1cd986-1ac7-4c26-b8b3-d632a48408fd&code=http://loinc.org|8867-4,http://loinc.org|9279-1,http://loinc.org|85354-9&date=ge2020-01-01T00:00:00Z' \
--header 'Authorization: Bearer 1239b275-909e-4754-8f73-1e411fd6769e'