async fn config_to_fhir_http_state( state: Arc<Mutex<CLIState>>, ) -> Result<FHIRHttpState, OperationOutcomeError>