Skip to main content

submit

Function submit 

Source
pub async fn submit<Repo: Repository + Send + Sync + 'static, Client: FHIRClient<Arc<ServerCTX<Client>>, OperationOutcomeError> + 'static>(
    repo: &Repo,
    config: &ServerConfig,
    ctx: &ServerCTX<Client>,
    request: &InvocationRequest,
) -> Result<FHIRResponse, OperationOutcomeError>
Expand description

Queues request as a job for the caller and answers 202 Accepted with its status URL. Called once the operation is known to exist and the request has passed every check the synchronous form would have.