<< All versions
Skill v1.0.0
currentAutomated scan100/100mkurman/zorai/fhir
──Details
PublishedJuly 29, 2026 at 12:09 PM
Content Hashsha256:a82643766c1c4e67...
Git SHAd0acbfaf3d62
──Files
Files (1 file, 1.6 KB)
SKILL.md1.6 KBactive
SKILL.md · 56 lines · 1.6 KB
version: "1.0.0" name: fhir description: "FHIR (Fast Healthcare Interoperability Resources) standard. Tools for reading, writing, and querying healthcare data via FHIR APIs: patients, observations, conditions, medications, procedures. Interop with EHR systems." tags: [fhir, healthcare, ehr, interoperability, hl7, api, zorai]
Overview
FHIR (Fast Healthcare Interoperability Resources) tools for reading, writing, and querying healthcare data via FHIR REST APIs. Work with Patient, Observation, Condition, MedicationRequest, and Encounter resources from EHR systems.
Installation
bash
uv pip install fhir.resources requests
Query Patients
python
import requestsfrom fhir.resources.patient import Patientbase_url = "https://hapi.fhir.org/baseR4"resp = requests.get(f"{base_url}/Patient", params={"family": "Smith", "birthdate": "gt1970"})data = resp.json()for entry in data.get("entry", []):patient = Patient.parse_obj(entry["resource"])name = patient.name[0]print(f"{name.family}, {name.given[0]}")
Create a Resource
python
patient = Patient(name=[{"family": "Doe", "given": ["John"], "use": "official"}],birthDate="1980-05-15",gender="male",)resp = requests.post(f"{base_url}/Patient",json=patient.dict(),headers={"Content-Type": "application/fhir+json"},)print(f"Created: {resp.json()['id']}")
Workflow
- Identify FHIR server endpoint (HAPI, Epic, Cerner)
- Query resources with search parameters
- Parse responses into typed resource objects
- Create/update with POST/PUT
- Use
$everythingfor comprehensive patient data