feature: HL7 FHIR R4 Integration

This commit is contained in:
voltsrage
2026-06-27 22:23:45 +08:00
parent 756cff332c
commit 5646dfddb4
27 changed files with 2658 additions and 16 deletions
@@ -0,0 +1,18 @@
using Hl7.Fhir.Model;
public static class FhirErrorHelper
{
public static OperationOutcome NotFound(string resourceType, string id) =>
new()
{
Issue =
{
new OperationOutcome.IssueComponent
{
Severity = OperationOutcome.IssueSeverity.Error,
Code = OperationOutcome.IssueType.NotFound,
Diagnostics = $"{resourceType}/{id} not found",
}
}
};
}