{"name": "CareLink training API", "note": "A small FHIR-inspired subset; not a clinical system.", "authentication": "POST /api/login with JSON username/password; then use the session cookie or Bearer access_token.", "endpoints": [{"method": "GET", "path": "/api/me", "description": "Current portal account."}, {"method": "GET", "path": "/fhir/Patient/{id}", "description": "Patient record."}, {"method": "GET", "path": "/fhir/DiagnosticReport?patient={id}", "description": "Current reports for a patient."}, {"method": "GET", "path": "/fhir/DiagnosticReport/{id}", "description": "Current report version."}, {"method": "GET", "path": "/api/lab/batches/{batch}/manifest", "description": "Lab export manifest and archive references."}, {"method": "GET", "path": "/fhir/DiagnosticReport/{id}/_history/{version}", "description": "Read an archived report version."}]}