fhirpath

Write FHIRPath expressions to navigate, query, and extract data from FHIR resources.

133|23|Updated Mar 23, 2020
One-click install
npx skills add https://github.com/aehrc/pathling --skill fhirpath
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fhirpath
Source: https://github.com/aehrc/pathling/tree/main/.claude/skills/fhirpath
Command: npx skills add https://github.com/aehrc/pathling --skill fhirpath

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides expert guidance and examples for writing FHIRPath expressions, enabling users to effectively navigate, query, and extract data from complex FHIR (Fast Healthcare Interoperability Resources) data structures.

Core Features & Use Cases

  • FHIRPath Expression Writing: Assists in constructing valid FHIRPath queries for data retrieval and manipulation.
  • Data Navigation: Helps in traversing hierarchical FHIR resource trees to pinpoint specific data elements.
  • Filtering and Transformation: Supports filtering collections, performing date/time arithmetic, and using built-in FHIRPath functions.
  • Use Case: You need to find all 'Observation' resources for a patient that have a 'Quantity' value greater than 100 and extract the unit of measurement.

Quick Start

Use the fhirpath skill to find all 'Observation' resources for a patient where the 'value' is a 'Quantity' and its 'value' is greater than 100, then extract the 'unit'.

Frequently Asked Questions about fhirpath

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a FHIRPath expression to query clinical data?

To write a FHIRPath expression for clinical data, you construct path navigation queries to traverse hierarchical FHIR resource trees, pinpointing specific data elements for extraction. This allows precise data retrieval from complex FHIR structures.

What is FHIRPath used for in healthcare analytics?

FHIRPath is used in healthcare analytics to navigate, query, and extract data from FHIR resources. It enables complex operations like filtering collections, performing date/time arithmetic, and defining FHIR invariants for precise data access.

Can I filter FHIR resources using specific values like quantities?

Yes, you can filter FHIR resources by applying FHIRPath expressions to check conditions, such as finding 'Observation' resources where a 'Quantity' value is greater than 100, then extracting the corresponding unit of measurement.

Does FHIRPath support date and time arithmetic for patient records?

FHIRPath supports date and time arithmetic for patient records, allowing you to perform complex operations on temporal data within FHIR resources. This includes manipulating date and time values during data navigation and extraction.

How do I navigate complex FHIR resource trees to extract specific elements?

You navigate complex FHIR resource trees by using FHIRPath path navigation to traverse the hierarchical structures. This method pinpoints specific data elements within the FHIR standard, enabling precise data extraction and manipulation.