MedicareHMS
FHIR R4 & HL7 v2 interoperability
Open standards let MedicareHMS exchange data with labs, devices, insurers and other hospital systems.
FHIR R4 REST API
Patient, Encounter, Observation, DiagnosticReport, MedicationRequest, Appointment, Practitioner, Organization and more.
HL7 v2 messaging
ADT, ORM, ORU and SIU message types.
Webhooks
Real-time event notifications to your own systems.
Secure authentication
Token-based access with scoped permissions.
// Illustrative request — dummy data
const res = await fetch('https://api.example-hospital.org/fhir/Patient/1042', {
headers: {
Authorization: `Bearer ${process.env.TOKEN}`,
Accept: 'application/fhir+json',
},
});
const patient = await res.json();
console.log(patient.name[0].family);
// Java 17 · java.net.http — dummy data
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.example-hospital.org/fhir/Patient/1042"))
.header("Authorization", "Bearer " + System.getenv("TOKEN"))
.header("Accept", "application/fhir+json")
.GET()
.build();
HttpResponse<String> response =
client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
// React — dummy data
function PatientName({ id }) {
const [patient, setPatient] = useState(null);
useEffect(() => {
fetch(`/api/fhir/Patient/${id}`, { headers: { Accept: 'application/fhir+json' } })
.then((r) => r.json())
.then(setPatient);
}, [id]);
return patient ? <h3>{patient.name[0].family}</h3> : <p>Loading…</p>;
}
<?php
$ch = curl_init('https://api.example-hospital.org/fhir/Patient/1042');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer $token", 'Accept: application/fhir+json'],
]);
$patient = json_decode(curl_exec($ch), true);
# Illustrative request — dummy data
curl https://api.example-hospital.org/fhir/Patient/1042 \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/fhir+json"
{
"resourceType": "Patient",
"id": "1042",
"identifier": [{ "system": "urn:hospital:mrn", "value": "MRN-000123" }],
"name": [{ "family": "Doe", "given": ["Jane"] }],
"gender": "female",
"birthDate": "1990-04-12"
}
Ready to see MedicareHMS?
Book a guided demo and bring your questions.