Skip to main content
The Artifact

Patch a Patient. Watch the fan-out.

FHIR resource viewer. Pick a resource, apply a patch, watch SMART App Launch fan out to payer endpoints with provenance.

Pt
Dimension
Patient
0.03–0.2 J
per call

the FHIR R5 resource of record

Patient is the canonical demographic record under FHIR R5 §3.1. address, telecom, identifier, communication.language, and the USCDI v4 patient-demographics group all live here. Updates go through RFC 6902 JSON Patch so writers never replace the whole resource by accident.

Sample receipt
JWP ReceiptPayload
kind "medicine.patient.read"
resource Patient/8e21
version 15
joules 0.05
cite "FHIR R5 §3.1 Patient · USCDI v4 Patient Demographics"
sig "ed25519:0x4f...c1a"
Anatomy — operational specs
spec
FHIR R5 §3.1
patch_format
RFC 6902 JSON Patch
history
_history/{vid} preserved
SMR
Dimension
SMART Launch
0.08–0.4 J
per call

authorization for app + system access

SMART App Launch v2 handles both EHR-launched and backend-services flows. The backend flow uses RFC 7523 client-credentials with a signed JWT assertion; scopes are USCDI-aligned (system/Patient.rs, user/Coverage.r). Tokens are short-lived by policy; refresh is by re-assertion, never by long-lived bearer.

Sample receipt
JWP ReceiptPayload
kind "medicine.smart.token"
grant client_credentials
ttl_s 300
joules 0.11
cite "SMART App Launch v2 §5.1 · RFC 7523 · RFC 9068"
sig "ed25519:0x4f...c1a"
Anatomy — operational specs
flows
EHR launch · standalone · backend services
scopes
USCDI v4 resource families
assertion
RFC 7523 JWT
CDS
Dimension
CDS Hooks
0.02–0.6 J
per call

decision support at workflow points

CDS Hooks v2.0 lets external services subscribe to clinical workflow points (patient-view, order-select, order-sign, encounter-discharge). Hooks fire with a typed context; responses are zero-or-more Cards. MedicineOS uses the hook stream as the trigger for fan-out, alerting, and prior-auth (Da Vinci CRD/DTR/PAS).

Sample receipt
JWP ReceiptPayload
kind "medicine.cds.fire"
hook patient-view
cards 1
joules 0.04
cite "CDS Hooks v2.0 §discovery · §service · hook context"
sig "ed25519:0x4f...c1a"
Anatomy — operational specs
hooks
patient-view · order-select · order-sign · encounter-discharge
response
Cards (info | suggestion | app-link)
transport
JSON over HTTPS
Cv
Dimension
Coverage
0.05–0.3 J
per call

the payer's view of eligibility

Coverage is the FHIR R5 resource that ties a Patient to a payer plan, with payor reference, period, class (group/plan/subplan/network), and beneficiary. MedicineOS reads Coverage from each payer's USCDI v4 endpoint and patches in lockstep with Patient so eligibility doesn't drift.

Sample receipt
JWP ReceiptPayload
kind "medicine.coverage.sync"
payer Anthem Dental
coverage_id 44219
joules 0.08
cite "FHIR R5 §11.1 Coverage · Da Vinci PDex 2.0"
sig "ed25519:0x4f...c1a"
Anatomy — operational specs
spec
FHIR R5 §11.1
ig
US Core 7.0 · Da Vinci PDex 2.0
fan_out
1..n payers per Patient
Sr
Dimension
ServiceRequest
0.04–0.5 J
per call

orders, referrals, prescriptions

ServiceRequest is the resource for orders — labs, imaging, referrals, and prescriptions (joined to MedicationRequest). NCPDP SCRIPT 2025 handles ePrescribing transitions; RxChange and NewRx notifications keep adherence series joined by patient_id when pharmacies move.

Sample receipt
JWP ReceiptPayload
kind "medicine.rx.route"
scripts 3
pharmacy NCPDP 0526891
joules 0.09
cite "FHIR R5 §10.2 ServiceRequest · NCPDP SCRIPT 2025"
sig "ed25519:0x4f...c1a"
Anatomy — operational specs
spec
FHIR R5 §10.2
rx_transport
NCPDP SCRIPT 2025 (Surescripts)
ig
US Core 7.0

MedicineOS, in one line

health, made inspectable.

Click anything. The same primitives that compose the rest of the Transaction Science family — receipts, joules, signed transport — show up here too. The family is one system.