Closed Wambere closed 1 month ago
@peterMuriuki are you able to provide an example of what the output above should look like?
yeah, will check and revert back.
My initial thoughts are
type Step = "ExtractTransform" | "Load"
type Status = "success" | "failure";
interface SuccessResponse {
status: "success";
step: Step;
processed: Number;
received: Number;
}
interface FailureResponse {
status: "failure";
step: Step;
// https://www.hl7.org/fhir/R4/operationoutcome.html
outcomes: OperationOutcome[]
}
We can jointly refine this, or completely change it.
Closing this for now since we have the Print Final Response feature in place Once we have new specifications of what this output needs to look like we can create a new issue
Pass a flag to allow output to be in json format to allow easy consumption from the web
Example of current output