1---2name: diagnostics-documents3description: Generate DiagnosticReport resources (lab, radiology, pathology, cardiology) and DocumentReference resources (discharge summaries, consultation notes, progress notes, procedure notes). Use when user mentions diagnostic report, radiology, pathology, lab report, document, discharge summary, clinical notes, or reports.4---5
6# Diagnostics and Documents
7
8## Diagnostic Reports
9- Status: registered, partial, preliminary, final, amended, corrected, appended, cancelled,
10 entered-in-error.
11- Categories: LAB (laboratory), RAD (radiology), PAT (pathology), CRD (cardiology).
12- Include DiagnosticReport.result[] referencing Observation resources.
13- For pathology: include conclusion and conclusionCode.
14- For radiology: include presentedForm (narrative report text as attachment).
15- Use effectiveDateTime or effectivePeriod for specimen collection timing.
16
17## Document References
18- Types (LOINC): 34133-9 (Summary of episode), 18842-5 (Discharge summary),
19 11488-4 (Consultation note), 11506-3 (Progress note), 28570-0 (Procedure note),
20 57133-1 (Referral note), 34117-2 (History and physical), 11504-8 (Surgical op note).
21- Status: current, superseded, entered-in-error.
22- Content: Include content[].attachment with contentType (application/pdf, text/plain),
23 title, and creation date. Use data (base64) or url.
24- Context: Link to encounter, period, facilityType, practiceSetting.
25