Install any skill in seconds. Free to start, no credit card required.
Get Started Free →mkurman/fhir
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.
Passed 20 of 22 test cases with the skill, and 18 of 22 without it.
3 fixed17 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a Python script to create a male patient named John Doe born May 15, 1980 on the public HAPI FHIR R4 server and output the created resource ID.
| Checked | Without skill | With skill |
|---|---|---|
| The POST request includes the header Content-Type application/fhir+json. | Passed | Passed |
| The request body passes patient.dict() to the json parameter. | Missed | Passed |
The instructions your model reads when the skill loads.
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.
uv pip install fhir.resources requests
import requests
from fhir.resources.patient import Patient
base_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]}")
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']}")
test cases passed, vs 18 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.