Files
vigilcare-records/VigilCareRecordsAPI/Services/Interfaces/IFhirService.cs
T
Trent a17bc2b734
CI / changes (push) Successful in 17s
dotnet8-ci / build-and-test (push) Successful in 8m23s
CI / backend (push) Successful in 8m24s
node-ci / build (push) Failing after 2m1s
CI / frontend (push) Failing after 2m2s
Harden API memory and CPU usage across Phases 19–22.
Bound list/PDF payloads, stream MinIO I/O with cancellation, paginate history and FHIR $everything, tighten OCR lifetimes/buffers, and add phase tracking docs.
2026-11-30 23:55:56 +08:00

22 lines
895 B
C#

using Hl7.Fhir.Model;
using FhirPatient = Hl7.Fhir.Model.Patient;
using FhirEncounter = Hl7.Fhir.Model.Encounter;
using FhirObservation = Hl7.Fhir.Model.Observation;
public interface IFhirService
{
Task<FhirPatient?> GetPatientAsync(Guid id);
Task<Bundle> SearchPatientsAsync(string? name, string? birthdate, string? identifier, int count, int offset);
Task<FhirEncounter?> GetEncounterAsync(Guid id);
Task<Bundle> SearchEncountersAsync(string? patient, string? status, string? date, int count, int offset);
Task<FhirObservation?> GetObservationAsync(Guid id);
Task<Bundle> SearchObservationsAsync(
string? patient, string? code, string? date,
string? category, string? encounter, int count, int offset);
Task<Bundle?> GetPatientEverythingAsync(Guid patientId, int count = 100, int offset = 0);
CapabilityStatement GetCapabilityStatement();
}