@medplum/fhirpath
v0.9.6
Published
Medplum FHIRPath Library
Downloads
80
Readme
Medplum FHIRPath Library
The Medplum FHIRPath Library is a pure TypeScript library for evaluating FHIRPath expressions.
Installation
Add as a dependency:
npm install @medplum/fhirpath
Basic Usage
import { Patient } from '@medplum/fhirtypes';
import { evalFhirPath } from '@medplum/fhirpath';
const patient: Patient = {
resourceType: 'Patient',
name: [
{
given: ['John'],
family: 'Doe',
},
],
birthDate: '1980-01-01',
};
console.log(evalFhirPath('birthDate', patient));
About Medplum
Medplum is a healthcare platform that helps you quickly develop high-quality compliant applications. Medplum includes a FHIR server, React component library, and developer app.
License
Apache 2.0. Copyright © Medplum 2022