Skip to main content

patient_insights_jobs

Creates, updates, deletes, gets or lists a patient_insights_jobs resource.

Overview

Namepatient_insights_jobs
TypeResource
Idaws.connecthealth.patient_insights_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
creation_timestring (date-time)Date and time the patient insights job was submitted.
encounter_contextobjectDetails for an encounter
input_data_configobjectConfiguration details for input patient data
insights_contextobjectDetails for insights that user wants to generate
insights_outputobjectOutput of patient insights job
job_arnstring (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_idstring
job_statusstring (SUBMITTED, IN_PROGRESS, FAILED, SUCCEEDED)
output_data_configobjectConfiguration details for insights output.
patient_contextobjectDetails for a patient
status_detailsstringContains information about the status of a job. (pattern: <code>.[\s\S]\S[\s\S].</code>)
updated_timestring (date-time)Date and time the patient insights job was last updated.
user_contextobjectDetails for user initiating insights job

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_patient_insights_jobselectdomain_id, job_id, regionGet 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.

NameDatatypeDescription
domain_idstring
job_idstring
regionstringAWS region (default: us-east-1)

SELECT examples

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
;