Physical Activity Implementation Guide
1.0.0 - STU Release 1 United States of America flag

This page is part of the U.S. Physical Activity IG (v1.0.0: STU 1.0) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

ExampleScenario: Scenario 5 - Patient-Provider Communication on Activity and Blood Glucose Observations (Experimental)

Official URL: http://hl7.org/fhir/us/physical-activity/ExampleScenario/Scen5ActivityAndGlucoseObservations Version: 1.0.0
Standards status: Informative Computable Name: PatientProviderCommunicationonActivityandBloodGlucoseObservations

This scenario provides an example of the types of data exchanges that are described in the Diabetic Pediatric Patient Monitors Activity Level scenario from the Scenarios page.

The scenario shows the flows of information between the different systems and the various FHIR calls involved, as well as what the data might have looked like in each of the exchanges. There are detailed tables below that provide details on each of the steps in the exchange as well as the types of data being shared. From the instances table, it's possible to navigate to sample XML and JSON instances.

Actors

NameTypeDescription
Rosalie's phone appSystem

An app on Rosalie's phone with access to Nadia's record

Mercy ClinicSystem

System that manages data for Dr. Flores's clinic

Mrs. O’Shea's appSystem

System that manages data for Mrs. O'She's practice

Diagram

PatientProviderCommunicationonActivityandBloodGlucoseObservationsRosalie's phone appRosalie's phone appMercy ClinicMercy ClinicMrs. O’Shea's appMrs. O’Shea's appObservation CreationdetailsRecord blood glucose(payload)Record activity group(payload)Record activity type(payload)Record activity duration(payload)Record moderate activity(payload)Record vigorous activity(payload)Record mean heart rate(payload)Observation RetrievaldetailsRetrieve Rosalie's observations(payload)response(payload)

Processes

Process: Observation Creation

Nadia records observations for Rosalie. While only a limited number of records are captured here, in practice there would likely be multiple glucose readings and activity entries per day every day.

Pre-conditions:

Nadia has credentials on Dr. Flores's EHR system.

Post-conditions:

Dr. Flores's system has detailed records of Rosalie's blood glucose readings and exercise levels.

StepNameDescriptionInitatorReceiverRequestResponse
1Record blood glucose - create

Nadia's app transmits Rosalie's blood glucose measurement to Dr. Flores's EHR. (NOTE: This type of data is outside the scope of this IG, but is covered by US Core.) Request: POST https://mercy.example.org/fhir/Observation Response: 201 Created

Rosalie's phone appMercy ClinicBlood Glucose Observation for Rosalie
2Record activity group - create

Nadia's app transmits a grouper describing Rosalie's exercise to Dr. Flores's EHR. Request: POST https://mercy.example.org/fhir/Observation Response: 201 Created

Rosalie's phone appMercy ClinicActivity Panel Observation for Rosalie
3Record activity type - create

Nadia's app transmits Rosalie's type of exercise to Dr. Flores's EHR. Request: POST https://mercy.example.org/fhir/Observation Response: 201 Created

Rosalie's phone appMercy ClinicActivity Type Observation for Rosalie
4Record activity duration - create

Nadia's app transmits Rosalie's duration of exercise to Dr. Flores's EHR. Request: POST https://mercy.example.org/fhir/Observation Response: 201 Created

Rosalie's phone appMercy ClinicActivity Duration Observation for Rosalie
5Record moderate activity - create

Nadia's app transmits Rosalie's duration of moderate exercise to Dr. Flores's EHR. Request: POST https://mercy.example.org/fhir/Observation Response: 201 Created

Rosalie's phone appMercy ClinicModerate Duation Observation for Rosalie
6Record vigorous activity - create

Nadia's app transmits Rosalie's duration of vigorous exercise to Dr. Flores's EHR. Request: POST https://mercy.example.org/fhir/Observation Response: 201 Created

Rosalie's phone appMercy ClinicVigorous Duration Observation for Rosalie
7Record mean heart rate - create

Nadia's app transmits Rosalie's average heart rate during exercise to Dr. Flores's EHR. Request: POST https://mercy.example.org/fhir/Observation Response: 201 Created

Rosalie's phone appMercy ClinicMean Heart Rate Observation for Rosalie
Process: Observation Retrieval

Mrs. O'Shea uses her app retrieves the observations created by Nadia from Dr. Flores's EHR.

Pre-conditions:

Mrs. O'Shea has permision to retrieve certain types observations for Rosalie. (There would generally need to be a consent on file with Dr. Flores's clinic.)

Post-conditions:

Mrs. O'Shea can see the observations about Rosalie.

StepNameDescriptionInitatorReceiverRequestResponse
8Retrieve Rosalie's observations - search-type

Search to retrieve observations about Rosalie that Mrs. O'Shea has a right to see.

Mrs. O’Shea's appMercy ClinicQuery for PA and blood glucose observationsObservations retrieved by Mrs. O'Shea

Instances

NameTypeContentDescription
Query for PA and blood glucose observationsBinary

Query for observations that Mrs. O'Shea has access to related to Rosalie: GET https://mercy.example.org/fhir/Observation?patient=Patient/Scen5PatientRosalie&status=completed,amended,corrected&category=http%3A//hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes|PhysicalActivity,http%3A//terminology.hl7.org/CodeSystem/observation-category|laboratory

Blood Glucose Observation for RosalieObservationhere

Sample blood-glucose level captured for Rosalie by her mother. (In practice there would be many.)

Activity Panel Observation for RosalieObservationhere

Sample collection of information about one of Rosalie's exercise activities as recorded by her mother. (In practice there would be many.)

Activity Type Observation for RosalieObservationhere

Sample record of what type of exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)

Activity Duration Observation for RosalieObservationhere

Sample record of the duration of exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)

Moderate Duation Observation for RosalieObservationhere

Sample record of the duration of moderate exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)

Vigorous Duration Observation for RosalieObservationhere

Sample record of the duration of vigorous exercise activity Rosalie was doing as recorded by her mother. (In practice there would be many.)

Mean Heart Rate Observation for RosalieObservationhere

Sample record of Rosalie's average heart rate during her exercise activity as recorded by her mother. (In practice there would be many.)

Observations retrieved by Mrs. O'SheaBundlehere

Search-set Bundle returning Rosalie's observations (that Mrs. O'Shea has access to)

Contains: Mean Heart Rate Observation for Rosalie