patient_insights_jobs
Creates, updates, deletes, gets or lists a patient_insights_jobs resource.
Overview
| Name | patient_insights_jobs |
| Type | Resource |
| Id | aws.connecthealth.patient_insights_jobs |
Fields
The following fields are returned by SELECT queries:
- get_patient_insights_job
| Name | Datatype | Description |
|---|---|---|
creation_time | string (date-time) | Date and time the patient insights job was submitted. |
encounter_context | object | Details for an encounter |
input_data_config | object | Configuration details for input patient data |
insights_context | object | Details for insights that user wants to generate |
insights_output | object | Output of patient insights job |
job_arn | string | (pattern: <code>arn:aws[-a-z]*:health-agent:[-a-z0-9]+:[0-9]{12}:domain/[-a-zA-Z0-9-]+/patient-insights-job/[-a-zA-Z0-9_/.]+</code>) |
job_id | string | |
job_status | string | (SUBMITTED, IN_PROGRESS, FAILED, SUCCEEDED) |
output_data_config | object | Configuration details for insights output. |
patient_context | object | Details for a patient |
status_details | string | Contains information about the status of a job. (pattern: <code>.[\s\S]\S[\s\S].</code>) |
updated_time | string (date-time) | Date and time the patient insights job was last updated. |
user_context | object | Details for user initiating insights job |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_patient_insights_job | select | domain_id, job_id, region | Get details of a started patient insights job. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
domain_id | string | |
job_id | string | |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_patient_insights_job
Get details of a started patient insights job.
SELECT
creation_time,
encounter_context,
input_data_config,
insights_context,
insights_output,
job_arn,
job_id,
job_status,
output_data_config,
patient_context,
status_details,
updated_time,
user_context
FROM aws.connecthealth.patient_insights_jobs
WHERE domain_id = '{{ domain_id }}' -- required
AND job_id = '{{ job_id }}' -- required
AND region = '{{ region }}' -- required
;