-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
priority:highAddress soonAddress soonscope:fhirFHIR resources and integrationFHIR resources and integrationscope:gatewayGateway API (.NET backend)Gateway API (.NET backend)type:featureNew feature or enhancementNew feature or enhancement
Description
Note for implementers: The design outlined here is a guideline, not a strict specification. Feel free to pivot from the suggested approach if you discover a better solution during implementation. Update the issue with your rationale when deviating significantly.
Summary
Validate the ported FhirClient and FhirHttpClient code against Epic's FHIR sandbox.
Context
FHIR client code is implemented but not validated against a live Epic sandbox. This validates:
- Authentication flow works
- All FHIR queries used by
FhirDataAggregatorwork - DocumentReference creation (write-back) works
- Epic-specific quirks are documented
Validation Tasks
Authentication
- Configure OAuth client credentials
- Obtain access token from Epic
- Document token lifetime
Patient Operations
-
GET /Patient/{id}- demographics -
GET /Patient?identifier={mrn}- search
Clinical Data (used by FhirDataAggregator)
-
GET /Condition?patient={id}&clinical-status=active -
GET /Observation?patient={id}&category=laboratory&date=ge{date} -
GET /Procedure?patient={id}&date=ge{date}
Documents
-
GET /DocumentReference?patient={id}&status=current -
POST /DocumentReference- upload PA form
Error Handling
- Test 401, 404, 422 responses
Files Under Validation
| File | Purpose |
|---|---|
apps/gateway/Gateway.API/Services/FhirClient.cs |
High-level FHIR ops |
apps/gateway/Gateway.API/Services/Fhir/FhirHttpClient.cs |
Low-level HTTP |
apps/gateway/Gateway.API/Services/FhirDataAggregator.cs |
Parallel queries |
Design References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority:highAddress soonAddress soonscope:fhirFHIR resources and integrationFHIR resources and integrationscope:gatewayGateway API (.NET backend)Gateway API (.NET backend)type:featureNew feature or enhancementNew feature or enhancement
Type
Projects
Status
Todo