Skip to content

anthem-ai/fhir-helpers

Repository files navigation

FHIR Helpers

Introduction

The FHIR Helpers package (fhir-helpers) provides an easy way to find resources and values in a Longitudinal Patient Record (LPR). When used in your code, fhir-helpers eliminates the need for code to traverse the patient record looking for matching resources.

This document includes an example and synthetic data record that illustrates using fhir-helpers to retrieve values from the record and constructing a patient trajectory or timeline.

Supported resource types

fhir-helpers supports many FHIR R4 resources, including Patient, Condition, Observation, MedicationRequest, Procedure, and others. The classes defining the resources are in fhir_helpers/resources/.

Capabilities of fhir-helpers

fhir-helpers supports the following operations for finding resources:

  • Date arithmetic and matching
  • String searches using <Resource>.search_text(), matching a portion of the text you want to find
  • Code searches, for finding resources that match a specific code value
  • Numeric comparisons (less than, greater than, and so on). These can also be included in method chaining, allowing you to prune the result set very quickly.

Find out more about resources and coding systems using the links listed in the More information section of this document.

Getting started

The included example and synthetic data record illustrate using fhir-helpers to retrieve values from the record and constructing a sample patient trajectory or timeline.

More information {: #more-info }

This document does not describe coding systems or FHIR R4. The following websites provide more information:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published