Nikhil090 commited on
Commit
890bc66
·
1 Parent(s): 26a9da6

Delete T_PRSN_ENRT.json

Browse files
Files changed (1) hide show
  1. T_PRSN_ENRT.json +0 -128
T_PRSN_ENRT.json DELETED
@@ -1,128 +0,0 @@
1
- [
2
- {
3
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
4
- "Input": "Total no. of records where coverage start date is more than 01-01-2024 and Primary is in records.",
5
- "Output": "SELECT COUNT(*) AS TotalPersons FROM HIX.T_PRSN_ENRT WHERE COV_START_DT > '2024-01-01' AND PRIM_IN = 'Y';",
6
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Total no. of records where coverage start date is more than 01-01-2024 and Primary is in records. ### Output: SELECT COUNT(*) AS TotalPersons FROM HIX.T_PRSN_ENRT WHERE COV_START_DT > '2024-01-01' AND PRIM_IN = 'Y';"
7
- },
8
- {
9
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
10
- "Input": "Those records where cov start date < cov end date and active member is present?",
11
- "Output": "SELECT * FROM HIX.T_PRSN_ENRT WHERE COV_START_DT < COV_END_DT AND ACTIVE_IN = 'Y';",
12
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Those records where cov start date < cov end date and active member is present? ### Output: SELECT * FROM HIX.T_PRSN_ENRT WHERE COV_START_DT < COV_END_DT AND ACTIVE_IN = 'Y';"
13
- },
14
- {
15
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
16
- "Input": "total no. of records where individual premium amount is greater than 0 and member is active?",
17
- "Output": " SELECT COUNT(*) AS TotalRecords FROM HIX.T_PRSN_ENRT WHERE INDIV_PLAN_PREM_AM > 0 AND ACTIVE_IN = 'Y';",
18
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: total no. of records where individual premium amount is greater than 0 and member is active? ### Output: SELECT COUNT(*) AS TotalRecords FROM HIX.T_PRSN_ENRT WHERE INDIV_PLAN_PREM_AM > 0 AND ACTIVE_IN = 'Y';"
19
- },
20
- {
21
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
22
- "Input": "Total no. of records where person is marked for addition?",
23
- "Output": "SELECT COUNT(*) AS TotalRecords FROM HIX.T_PRSN_ENRT WHERE PRSN_ENRT_STATUS_CD = '3206';",
24
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Total no. of records where person is marked for addition? ### Output: SELECT COUNT(*) AS TotalRecords FROM HIX.T_PRSN_ENRT WHERE PRSN_ENRT_STATUS_CD = '3206';"
25
- },
26
- {
27
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
28
- "Input": "Total no. of records where person is marked for removal?",
29
- "Output": "SELECT COUNT(*) AS TotalRecords FROM HIX.T_PRSN_ENRT WHERE PRSN_ENRT_STATUS_CD = '2341';",
30
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Total no. of records where person is marked for removal? ### Output: SELECT COUNT(*) AS TotalRecords FROM HIX.T_PRSN_ENRT WHERE PRSN_ENRT_STATUS_CD = '2341';"
31
- },
32
- {
33
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
34
- "Input": "cov start date of all the records where cost sharing reduction amount is not null and member is both subscriber and primary",
35
- "Output": "SELECT COV_START_DT FROM HIX.T_PRSN_ENRT WHERE CSR_AM IS NOT NULL AND SUBSCBR_IN = 'Y' AND PRIM_IN = 'Y';",
36
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: cov start date of all the records where cost sharing reduction amount is not null and member is both subscriber and primary ### Output: SELECT COV_START_DT FROM HIX.T_PRSN_ENRT WHERE CSR_AM IS NOT NULL AND SUBSCBR_IN = 'Y' AND PRIM_IN = 'Y';"
37
- },
38
- {
39
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
40
- "Input": "Show all records where cov start date is not equal to premium start date?",
41
- "Output": "SELECT * FROM HIX.T_PRSN_ENRT WHERE COV_START_DT <> PREM_START_DT;",
42
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Show all records where cov start date is not equal to premium start date? ### Output: SELECT * FROM HIX.T_PRSN_ENRT WHERE COV_START_DT <> PREM_START_DT;"
43
- },
44
- {
45
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
46
- "Input": "Find the PRSN_ENRT_ID and COV_START_DT for records where ACTIVE_IN is 'Y' and COVERED_CT_CATEGORY is not null.",
47
- "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE ACTIVE_IN = 'Y' AND COVERED_CT_CATEGORY IS NOT NULL;",
48
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Find the PRSN_ENRT_ID and COV_START_DT for records where ACTIVE_IN is 'Y' and COVERED_CT_CATEGORY is not null. ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE ACTIVE_IN = 'Y' AND COVERED_CT_CATEGORY IS NOT NULL;"
49
- },
50
- {
51
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
52
- "Input": "Retrieve PRSN_ENRT_ID and PRSN_MBRSH_ID for records where COV_START_DT is greater than '2023-01-01'.",
53
- "Output": "SELECT PRSN_ENRT_ID, PRSN_MBRSH_ID FROM HIX.T_PRSN_ENRT WHERE COV_START_DT > '2023-01-01';",
54
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Retrieve PRSN_ENRT_ID and PRSN_MBRSH_ID for records where COV_START_DT is greater than '2023-01-01'. ### Output: SELECT PRSN_ENRT_ID, PRSN_MBRSH_ID FROM HIX.T_PRSN_ENRT WHERE COV_START_DT > '2023-01-01';"
55
- },
56
- {
57
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
58
- "Input": "Show the PRSN_ENRT_ID and PRSN_MBRSH_ID for records where PRSN_ELGT_ID is null.",
59
- "Output": "SELECT PRSN_ENRT_ID, PRSN_MBRSH_ID FROM HIX.T_PRSN_ENRT WHERE PRSN_ELGT_ID IS NULL;",
60
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Show the PRSN_ENRT_ID and PRSN_MBRSH_ID for records where PRSN_ELGT_ID is null. ### Output: SELECT PRSN_ENRT_ID, PRSN_MBRSH_ID FROM HIX.T_PRSN_ENRT WHERE PRSN_ELGT_ID IS NULL;"
61
- },
62
- {
63
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
64
- "Input": "Find the PRSN_ENRT_ID and COV_START_DT for records where MANUAL_UPDT_IN is NULL",
65
- "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE MANUAL_UPDT_IN = NULL;",
66
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Find the PRSN_ENRT_ID and COV_START_DT for records where MANUAL_UPDT_IN is NULL ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE MANUAL_UPDT_IN = NULL;"
67
- },
68
- {
69
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
70
- "Input": "Retrieve PRSN_ENRT_ID and COV_START_DT for records where COV_START_DT and PREV_COV_START_DT are different.",
71
- "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM T_PRSN_ENRT WHERE COV_START_DT <> PREV_COV_START_DT; ",
72
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Retrieve PRSN_ENRT_ID and COV_START_DT for records where COV_START_DT and PREV_COV_START_DT are different. ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM T_PRSN_ENRT WHERE COV_START_DT <> PREV_COV_START_DT; "
73
- },
74
- {
75
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
76
- "Input": "Find the total count of records where CURR_EMS_COV_GRP_CD and OLD_EMS_COV_GRP_CD are different.",
77
- "Output": "SELECT COUNT(*) AS RecordCount FROM T_PRSN_ENRT WHERE CURR_EMS_COV_GRP_CD <> OLD_EMS_COV_GRP_CD; ",
78
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Find the total count of records where CURR_EMS_COV_GRP_CD and OLD_EMS_COV_GRP_CD are different. ### Output: SELECT COUNT(*) AS RecordCount FROM T_PRSN_ENRT WHERE CURR_EMS_COV_GRP_CD <> OLD_EMS_COV_GRP_CD; "
79
- },
80
- {
81
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
82
- "Input": "Retrieve PRSN_ENRT_ID and COV_START_DT for records where RETRO_IN is N.",
83
- "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM T_PRSN_ENRT WHERE RETRO_IN = 'N'; ",
84
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Retrieve PRSN_ENRT_ID and COV_START_DT for records where RETRO_IN is N. ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM T_PRSN_ENRT WHERE RETRO_IN = 'N'; "
85
- },
86
- {
87
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
88
- "Input": "Show the PRSN_ENRT_ID for records where EDI_TSMT_IN is 'Y'.",
89
- "Output": " SELECT PRSN_ENRT_ID FROM HIX.T_PRSN_ENRT WHERE EDI_TSMT_IN = 'Y';",
90
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Show the PRSN_ENRT_ID for records where EDI_TSMT_IN is 'Y'. ### Output: SELECT PRSN_ENRT_ID FROM HIX.T_PRSN_ENRT WHERE EDI_TSMT_IN = 'Y';"
91
- },
92
- {
93
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
94
- "Input": "Find the PRSN_ENRT_ID and COV_START_DT for records where PRVDR_ID is not null ",
95
- "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE PRVDR_ID IS NOT NULL; ",
96
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Find the PRSN_ENRT_ID and COV_START_DT for records where PRVDR_ID is not null ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE PRVDR_ID IS NOT NULL; "
97
- },
98
- {
99
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
100
- "Input": "Find the PRSN_ENRT_ID and COV_START_DT for records where PRVDR_ID is null and CVD_CT_PLAN is 'Yes'.",
101
- "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE PRVDR_ID IS NULL AND CVD_CT_PLAN = 'Y';",
102
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Find the PRSN_ENRT_ID and COV_START_DT for records where PRVDR_ID is null and CVD_CT_PLAN is 'Yes'. ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE PRVDR_ID IS NULL AND CVD_CT_PLAN = 'Y';"
103
- },
104
- {
105
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
106
- "Input": "Retrieve PRSN_ENRT_ID and COV_START_DT for records where EXMPT_CERTIF_ID is null and EHB_INDIV_PLAN_PREM_AM is greater than 0.",
107
- "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE EXMPT_CERTIF_ID IS NULL AND EHB_INDIV_PLAN_PREM_AM > 0;",
108
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Retrieve PRSN_ENRT_ID and COV_START_DT for records where EXMPT_CERTIF_ID is null and EHB_INDIV_PLAN_PREM_AM is greater than 0. ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE EXMPT_CERTIF_ID IS NULL AND EHB_INDIV_PLAN_PREM_AM > 0;"
109
- },
110
- {
111
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
112
- "Input": "Show the PRSN_ENRT_ID for records where COV_START_DT is greater than ORIGL_COV_END_DT.",
113
- "Output": "SELECT PRSN_ENRT_ID FROM HIX.T_PRSN_ENRT WHERE COV_START_DT > ORIGL_COV_END_DT;",
114
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Show the PRSN_ENRT_ID for records where COV_START_DT is greater than ORIGL_COV_END_DT. ### Output: SELECT PRSN_ENRT_ID FROM HIX.T_PRSN_ENRT WHERE COV_START_DT > ORIGL_COV_END_DT;"
115
- },
116
- {
117
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
118
- "Input": "Find the PRSN_ENRT_ID and COV_START_DT for records where COVERED_CT_CATEGORY is for Covered CT Adults.",
119
- "Output": "SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE COVERED_CT_CATEGORY = '9829';",
120
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: Find the PRSN_ENRT_ID and COV_START_DT for records where COVERED_CT_CATEGORY is for Covered CT Adults. ### Output: SELECT PRSN_ENRT_ID, COV_START_DT FROM HIX.T_PRSN_ENRT WHERE COVERED_CT_CATEGORY = '9829';"
121
- },
122
- {
123
- "Instruction": "HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH.",
124
- "Input": "count all records where COVERED_CT_CATEGORY is Covered CT Parents/Caretakers.",
125
- "Output": "SELECT count(*) FROM HIX.T_PRSN_ENRT WHERE COVERED_CT_CATEGORY = '9828';",
126
- "Text": "Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: HIX contains tables such as T_ENRT, T_PRSN_ENRT, T_PRSN_MBRSH. Table T_PRSN_ENRT has columns like PRSN_ENRT_ID, ENRT_ID, PRSN_MBRSH_ID, EFFV_START_DT, EFFV_END_DT, CRTD_DT, UPDTD_DT, CRTD_BY_NB, UPDTD_BY_NB, VERS_NB, COV_START_DT, COV_END_DT, PRSN_ELGT_ID, RETRO_IN, PRIM_IN, ACTIVE_IN, PRSN_CARR_MEM_ID, PRSN_ENRT_STATUS_CD, INDIV_PLAN_PREM_AM, CSR_AM, SUBSCBR_IN, PREV_COV_START_DT, PRSN_CARR_SUB_ID_TX, PREM_START_DT, EXMPT_CERTIF_ID, EHB_INDIV_PLAN_PREM_AM, MANUAL_UPDT_IN, MANUAL_UPDT_RSN_TX, CURR_EMS_COV_GRP_CD, OLD_EMS_COV_GRP_CD, EDI_TSMT_IN, ORIGL_COV_END_DT, DSENRT_SRC_CD, PRVDR_ID, CVD_CT_PLAN, IS_SUSPENDED, COVERED_CT_CATEGORY. PRSN_ENRT_ID represents Primary Key. ENRT_ID is foreign key from table T_ENRT. PRSN_MBRSH_ID is foreign key from T_PRSN_MBRSH. ### Input: count all records where COVERED_CT_CATEGORY is Covered CT Parents/Caretakers. ### Output: SELECT count(*) FROM HIX.T_PRSN_ENRT WHERE COVERED_CT_CATEGORY = '9828';"
127
- }
128
- ]