azure.healthinsights.clinicalmatching package¶
-
class
azure.healthinsights.clinicalmatching.
ClinicalMatchingClient
(endpoint: str, credential: azure.core.credentials.AzureKeyCredential, **kwargs: Any)[source]¶ ClinicalMatchingClient.
- Parameters
endpoint (str) – Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus2.api.cognitive.microsoft.com). Required.
credential (AzureKeyCredential) – Credential needed for the client to connect to Azure. Required.
- Keyword Arguments
-
begin_match_trials
(body: Union[azure.healthinsights.clinicalmatching.models._models.TrialMatcherData, collections.abc.MutableMapping[str, Any], IO], *, repeatability_request_id: Optional[str] = None, repeatability_first_sent: Optional[datetime.datetime] = None, **kwargs: Any) → azure.core.polling._poller.LROPoller[azure.healthinsights.clinicalmatching.models._models.TrialMatcherResult]¶ Create Trial Matcher job.
Creates a Trial Matcher job with the given request body.
- Parameters
body (TrialMatcherData or JSON or IO) – Is one of the following types: TrialMatcherData, JSON, IO Required.
- Keyword Arguments
repeatability_request_id (str) – An opaque, globally-unique, client-generated string identifier for the request. Default value is None.
repeatability_first_sent (datetime) – Specifies the date and time at which the request was first created. Default value is None.
content_type (str) – Body parameter Content-Type. Known values are: application/json. Default value is None.
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – By default, your polling method will be LROBasePolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns TrialMatcherResult. The TrialMatcherResult is compatible with MutableMapping
- Return type
- Raises
-
send_request
(request: azure.core.rest._rest_py3.HttpRequest, **kwargs: Any) → azure.core.rest._rest_py3.HttpResponse[source]¶ Runs the network request through the client’s chained policies.
>>> from azure.core.rest import HttpRequest >>> request = HttpRequest("GET", "https://www.example.org/") <HttpRequest [GET], url: 'https://www.example.org/'> >>> response = client.send_request(request) <HttpResponse: 200 OK>
For more information on this code flow, see https://aka.ms/azsdk/dpcodegen/python/send_request
- Parameters
request (HttpRequest) – The network request you want to make. Required.
- Keyword Arguments
stream (bool) – Whether the response payload will be streamed. Defaults to False.
- Returns
The response of your network call. Does not do error handling on your response.
- Return type