HealthRecordCommunity
FHIR🌏 InternationalEnriched

Hidden Gem in FHIR Documentation: How to Boost Development Efficiency with Sample JSON

Sample JSON for all FHIR resource types - Darren Devitt

February 5, 2025

Summary

This article introduces how to utilize the 'Examples' tab found on FHIR resource documentation pages. This feature provides sample resources, including complete test data for various use cases (e.g., Encounter, Observation), available in raw JSON format.

Details

When developing with FHIR, developers often spend time scrolling through individual resource documentation pages to find element descriptions. However, the author points out a valuable, yet overlooked feature: the 'Examples' tab on every resource type page. This section is populated with sample resources that cover a wide range of use cases. For instance, the Encounter resource has 10 examples, and the Observation resource offers over 100 examples for readings like glucose or body weight. These samples are provided as complete JSON bodies, ready to be used in API testing tools like Postman. This allows developers to quickly obtain practical data based on specific use cases and validate implementations. A caveat mentioned is that reference links within these samples (e.g., pointing to Patient) may not link to actual resources in a developer's FHIR server, requiring minor setup work. Nevertheless, the author emphasizes that this feature provides everything needed for understanding and implementing FHIR, making it an invaluable resource for developers.

Technology Note

FHIR(Fast Healthcare Interoperability Resources)は医療データ交換の国際標準。このエントリの関連技術: FHIR

📰
Read Original Article
darrendevitt.com

Original content copyright by respective publishers