You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates a summary from FHIR resources using one of two modes:
2979
+
Creates a summary from FHIR resources using one of three modes:
2980
2980
-**narrative**: Uses a template to substitute FHIR data into placeholders (requires template_id)
2981
2981
-**flatten**: Flattens FHIR resources into a searchable format for RAG/search (no template needed)
2982
+
-**ips**: Generates an International Patient Summary (IPS) narrative per ISO 27269/HL7 FHIR IPS IG. Requires a Bundle with exactly one Patient resource (returns 400 error if no Patient or multiple Patients are present). Automatically filters resources to those referencing the patient and generates sections for allergies, medications, problems, immunizations, procedures, and vital signs.
Copy file name to clipboardExpand all lines: src/api/resources/summary/client/Client.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -483,9 +483,10 @@ export class Summary {
483
483
}
484
484
485
485
/**
486
-
* Creates a summary from FHIR resources using one of two modes:
486
+
* Creates a summary from FHIR resources using one of three modes:
487
487
* - **narrative**: Uses a template to substitute FHIR data into placeholders (requires template_id)
488
488
* - **flatten**: Flattens FHIR resources into a searchable format for RAG/search (no template needed)
489
+
* - **ips**: Generates an International Patient Summary (IPS) narrative per ISO 27269/HL7 FHIR IPS IG. Requires a Bundle with exactly one Patient resource (returns 400 error if no Patient or multiple Patients are present). Automatically filters resources to those referencing the patient and generates sections for allergies, medications, problems, immunizations, procedures, and vital signs.
0 commit comments