feature: Approval and Promotion to VigilCareClinical
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/// <summary>
|
||||
/// A single field-level verification check result.
|
||||
/// FieldName identifies the field (e.g. "patient.fullName", "observation.heartRate").
|
||||
/// Status is "ok", "warning", or "error".
|
||||
/// Note is an optional comment from the verifier.
|
||||
/// </summary>
|
||||
public record FieldCheck(
|
||||
string FieldName,
|
||||
string Status,
|
||||
string? Note
|
||||
);
|
||||
@@ -0,0 +1,5 @@
|
||||
/// <summary>
|
||||
/// Request body for POST /api/v1/digitization-batches/:id/reject.
|
||||
/// Reason is required — the verifier must explain why the batch was rejected.
|
||||
/// </summary>
|
||||
public record RejectBatchRequest(string Reason);
|
||||
@@ -0,0 +1,9 @@
|
||||
/// <summary>
|
||||
/// Request body for POST /api/v1/digitization-batches/:id/verify.
|
||||
/// FieldChecks contains the verifier's field-level review results.
|
||||
/// Passed indicates whether the batch passed all verification checks.
|
||||
/// </summary>
|
||||
public record VerifyBatchRequest(
|
||||
List<FieldCheck> FieldChecks,
|
||||
bool Passed
|
||||
);
|
||||
Reference in New Issue
Block a user