Automated Migration Testing (HAPI-FHIR) (#5836)

* Automated Migration Testing (HAPI-FHIR) - added and updated test migration scripts for V5_2_0, V5_3_0, V5_4_0, V5_5_0, V5_7_0, V6_0_0, V6_3_0, V6_6_0, V6_8_0, V7_0_0
This commit is contained in:
volodymyr-korzh 2024-04-12 17:13:39 -06:00 committed by GitHub
parent e3cc83a694
commit b85a26f4a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
49 changed files with 2884 additions and 44 deletions

View File

@ -23,10 +23,10 @@ INSERT INTO MPI_LINK (
2,
1,
1906,
NULL,
1.0,
1905,
'2023-04-05 15:16:26.43',
NULL,
61,
'1',
1906,
1

View File

@ -23,10 +23,10 @@ INSERT INTO MPI_LINK (
2,
1,
1906,
NULL,
1.0,
1905,
'2023-04-05 15:16:26.43',
NULL,
61,
'1',
1906,
1

View File

@ -23,10 +23,10 @@ INSERT INTO MPI_LINK (
2,
1,
1906,
NULL,
1.0,
1905,
SYSDATE,
NULL,
61,
'1',
1906,
1

View File

@ -23,10 +23,10 @@ INSERT INTO MPI_LINK (
2,
true,
1906,
NULL,
1.0,
1905,
'2023-04-05 15:16:26.43',
NULL,
61,
'1',
1906,
1

View File

@ -46,23 +46,55 @@ INSERT INTO HFJ_SPIDX_QUANTITY_NRML (
RES_TYPE,
SP_UPDATED,
SP_MISSING,
SP_NAME, SP_ID,
SP_NAME,
SP_ID,
SP_SYSTEM,
SP_UNITS,
HASH_IDENTITY_AND_UNITS,
HASH_IDENTITY_SYS_UNITS,
HASH_IDENTITY,
SP_VALUE
SP_VALUE,
PARTITION_DATE,
PARTITION_ID
) VALUES (
1702,
'Observation',
'2023-04-05 15:16:26.43',
0, 'value-quantity',
0,
'value-quantity',
2,
'https://unitsofmeasure.org',
'g',
-864931808150710347,
6382255012744790145,
-1901136387361512731,
0.012
0.012,
'2024-04-05',
1
);
INSERT INTO HFJ_RES_LINK (
PID,
PARTITION_DATE,
PARTITION_ID,
SRC_PATH,
SRC_RESOURCE_ID,
SOURCE_RESOURCE_TYPE,
TARGET_RESOURCE_ID,
TARGET_RESOURCE_TYPE,
TARGET_RESOURCE_URL,
TARGET_RESOURCE_VERSION,
SP_UPDATED
) VALUES (
701,
'2024-04-05',
1,
'Observation.subject.where(resolve() is Patient)',
1702,
'Observation',
1906,
'Patient',
'http://localhost:8000/Patient/123',
1,
'2024-03-01 18:01:12.921'
);

View File

@ -46,23 +46,55 @@ INSERT INTO HFJ_SPIDX_QUANTITY_NRML (
RES_TYPE,
SP_UPDATED,
SP_MISSING,
SP_NAME, SP_ID,
SP_NAME,
SP_ID,
SP_SYSTEM,
SP_UNITS,
HASH_IDENTITY_AND_UNITS,
HASH_IDENTITY_SYS_UNITS,
HASH_IDENTITY,
SP_VALUE
SP_VALUE,
PARTITION_DATE,
PARTITION_ID
) VALUES (
1702,
'Observation',
'2023-04-05 15:16:26.43',
0, 'value-quantity',
0,
'value-quantity',
2,
'https://unitsofmeasure.org',
'g',
-864931808150710347,
6382255012744790145,
-1901136387361512731,
0.012
0.012,
'2024-04-05',
1
);
INSERT INTO HFJ_RES_LINK (
PID,
PARTITION_DATE,
PARTITION_ID,
SRC_PATH,
SRC_RESOURCE_ID,
SOURCE_RESOURCE_TYPE,
TARGET_RESOURCE_ID,
TARGET_RESOURCE_TYPE,
TARGET_RESOURCE_URL,
TARGET_RESOURCE_VERSION,
SP_UPDATED
) VALUES (
701,
'2024-04-05',
1,
'Observation.subject.where(resolve() is Patient)',
1702,
'Observation',
1906,
'Patient',
'http://localhost:8000/Patient/123',
1,
'2024-03-01 18:01:12.921'
);

View File

@ -52,7 +52,9 @@ INSERT INTO HFJ_SPIDX_QUANTITY_NRML (
HASH_IDENTITY_AND_UNITS,
HASH_IDENTITY_SYS_UNITS,
HASH_IDENTITY,
SP_VALUE
SP_VALUE,
PARTITION_DATE,
PARTITION_ID
) VALUES (
1702,
'Observation',
@ -65,5 +67,33 @@ INSERT INTO HFJ_SPIDX_QUANTITY_NRML (
-864931808150710347,
6382255012744790145,
-1901136387361512731,
0.012
0.012,
SYSDATE,
1
);
INSERT INTO HFJ_RES_LINK (
PID,
PARTITION_DATE,
PARTITION_ID,
SRC_PATH,
SRC_RESOURCE_ID,
SOURCE_RESOURCE_TYPE,
TARGET_RESOURCE_ID,
TARGET_RESOURCE_TYPE,
TARGET_RESOURCE_URL,
TARGET_RESOURCE_VERSION,
SP_UPDATED
) VALUES (
701,
SYSDATE,
1,
'Observation.subject.where(resolve() is Patient)',
1702,
'Observation',
1906,
'Patient',
'http://localhost:8000/Patient/123',
1,
SYSDATE
);

View File

@ -52,7 +52,9 @@ INSERT INTO HFJ_SPIDX_QUANTITY_NRML (
HASH_IDENTITY_AND_UNITS,
HASH_IDENTITY_SYS_UNITS,
HASH_IDENTITY,
SP_VALUE
SP_VALUE,
PARTITION_DATE,
PARTITION_ID
) VALUES (
1702,
'Observation',
@ -65,5 +67,33 @@ INSERT INTO HFJ_SPIDX_QUANTITY_NRML (
-864931808150710347,
6382255012744790145,
-1901136387361512731,
0.012
0.012,
'2024-04-05',
1
);
INSERT INTO HFJ_RES_LINK (
PID,
PARTITION_DATE,
PARTITION_ID,
SRC_PATH,
SRC_RESOURCE_ID,
SOURCE_RESOURCE_TYPE,
TARGET_RESOURCE_ID,
TARGET_RESOURCE_TYPE,
TARGET_RESOURCE_URL,
TARGET_RESOURCE_VERSION,
SP_UPDATED
) VALUES (
701,
'2024-04-05',
1,
'Observation.subject.where(resolve() is Patient)',
1702,
'Observation',
1906,
'Patient',
'http://localhost:8000/Patient/123',
1,
'2024-03-01 18:01:12.921'
);

View File

@ -35,3 +35,25 @@ INSERT INTO HFJ_BLK_IMPORT_JOBFILE (
0,
''
);
INSERT INTO TRM_VALUESET_CONCEPT (
PID,
CODEVAL,
DISPLAY,
VALUESET_ORDER,
SYSTEM_URL,
VALUESET_PID,
INDEX_STATUS,
SOURCE_DIRECT_PARENT_PIDS,
SOURCE_PID
) VALUES (
177,
'LA13892-8',
'V2.67 MORE THAN 2 SLICES OR 2 DINNER ROLLS',
1,
'HTTP://LOINC.ORG',
59,
1,
10820244,
4824
);

View File

@ -35,3 +35,25 @@ INSERT INTO HFJ_BLK_IMPORT_JOBFILE (
0,
''
);
INSERT INTO TRM_VALUESET_CONCEPT (
PID,
CODEVAL,
DISPLAY,
VALUESET_ORDER,
SYSTEM_URL,
VALUESET_PID,
INDEX_STATUS,
SOURCE_DIRECT_PARENT_PIDS,
SOURCE_PID
) VALUES (
177,
'LA13892-8',
'V2.67 MORE THAN 2 SLICES OR 2 DINNER ROLLS',
1,
'HTTP://LOINC.ORG',
59,
1,
10820244,
4824
);

View File

@ -35,3 +35,25 @@ INSERT INTO HFJ_BLK_IMPORT_JOBFILE (
0,
''
);
INSERT INTO TRM_VALUESET_CONCEPT (
PID,
CODEVAL,
DISPLAY,
VALUESET_ORDER,
SYSTEM_URL,
VALUESET_PID,
INDEX_STATUS,
SOURCE_DIRECT_PARENT_PIDS,
SOURCE_PID
) VALUES (
177,
'LA13892-8',
'V2.67 MORE THAN 2 SLICES OR 2 DINNER ROLLS',
1,
'HTTP://LOINC.ORG',
59,
1,
'10820244',
4824
);

View File

@ -35,3 +35,26 @@ INSERT INTO HFJ_BLK_IMPORT_JOBFILE (
0,
''
);
INSERT INTO TRM_VALUESET_CONCEPT (
PID,
CODEVAL,
DISPLAY,
VALUESET_ORDER,
SYSTEM_URL,
VALUESET_PID,
INDEX_STATUS,
SOURCE_DIRECT_PARENT_PIDS,
SOURCE_PID
) VALUES (
177,
'LA13892-8',
'V2.67 MORE THAN 2 SLICES OR 2 DINNER ROLLS',
1,
'HTTP://LOINC.ORG',
59,
1,
10820244,
4824
);

View File

@ -15,6 +15,7 @@ INSERT INTO HFJ_RESOURCE (
SP_QUANTITY_PRESENT,
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_CMPTOKS_PRESENT,
SP_URI_PRESENT,
RES_TYPE,
RES_VER
@ -36,20 +37,130 @@ INSERT INTO HFJ_RESOURCE (
0,
0,
1,
0,
1,
'Observation',
1
);
INSERT INTO HFJ_RESOURCE (
RES_ID,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
SP_HAS_LINKS,
HASH_SHA256,
SP_INDEX_STATUS,
SP_CMPSTR_UNIQ_PRESENT,
SP_COORDS_PRESENT,
SP_DATE_PRESENT,
SP_NUMBER_PRESENT,
SP_QUANTITY_NRML_PRESENT,
SP_QUANTITY_PRESENT,
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_CMPTOKS_PRESENT,
SP_URI_PRESENT,
RES_TYPE,
RES_VER
) VALUES (
1654,
'R4',
0,
'2023-06-15 09:58:42.95',
'2023-06-15 09:58:42.95',
0,
'712b39864f0650e6b9ffd7b4ffa7b2de5db4ceecbcbd76b1f1b8e152ed17fcd0',
1,
0,
0,
0,
0,
0,
0,
1,
1,
0,
1,
'VALUESET',
1
);
INSERT INTO HFJ_IDX_CMB_TOK_NU (
PID,
PARTITION_DATE,
PARTITION_ID,
HASH_COMPLETE,
IDX_STRING,
RES_ID
) VALUES (
10,
'2024-04-05',
1,
'5570851350247697202',
'Patient?birthdate=1974-12-25&family=WINDSOR&gender=http%3A%2F%2Fhl7.org%2Ffhir%2Fadministrative-gender%7Cmale',
1656
);
INSERT INTO HFJ_BLK_IMPORT_JOB (
PID,
JOB_ID,
JOB_STATUS,
STATUS_TIME,
STATUS_MESSAGE,
JOB_DESC,
OPTLOCK,
FILE_COUNT,
ROW_PROCESSING_MODE,
BATCH_SIZE
) VALUES (
61,
'0fe3744a-93f3-4bb8-a59e-15643566e513',
'READY',
'2024-04-04 16:09:14.488',
'',
'ETL Import Job: (unnamed)',
0,
1,
'FHIR_TRANSACTION',
10
);
INSERT INTO HFJ_BLK_IMPORT_JOBFILE (
PID,
JOB_PID,
JOB_CONTENTS,
FILE_DESCRIPTION,
FILE_SEQ,
TENANT_NAME
) VALUES (
65,
61,
72995,
'Rows 0 - 10',
0,
''
);
INSERT INTO TRM_VALUESET (
PID,
EXPANSION_STATUS,
EXPANDED_AT,
VSNAME,
RES_ID,
TOTAL_CONCEPT_DESIGNATIONS,
TOTAL_CONCEPTS,
URL,
VER
) VALUES (
60,
'EXPANDED',
'2024-04-04 16:09:14.488',
'v2.0926',
1654,
0,
3,
'http://terminology.hl7.org/ValueSet/v2-0926',
'2.9'
);

View File

@ -15,6 +15,7 @@ INSERT INTO HFJ_RESOURCE (
SP_QUANTITY_PRESENT,
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_CMPTOKS_PRESENT,
SP_URI_PRESENT,
RES_TYPE,
RES_VER
@ -36,20 +37,131 @@ INSERT INTO HFJ_RESOURCE (
'false',
'false',
'true',
'false',
'true',
'Observation',
1
);
INSERT INTO HFJ_RESOURCE (
RES_ID,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
SP_HAS_LINKS,
HASH_SHA256,
SP_INDEX_STATUS,
SP_CMPSTR_UNIQ_PRESENT,
SP_COORDS_PRESENT,
SP_DATE_PRESENT,
SP_NUMBER_PRESENT,
SP_QUANTITY_NRML_PRESENT,
SP_QUANTITY_PRESENT,
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_CMPTOKS_PRESENT,
SP_URI_PRESENT,
RES_TYPE,
RES_VER
)VALUES (
1654,
'R4',
'false',
'2023-06-15 09:58:42.95',
'2023-06-15 09:58:42.95',
'false',
'712b39864f0650e6b9ffd7b4ffa7b2de5db4ceecbcbd76b1f1b8e152ed17fcd0',
1,
'false',
'false',
'false',
'false',
'false',
'false',
'true',
'true',
'false',
'true',
'VALUESET',
1
);
INSERT INTO HFJ_IDX_CMB_TOK_NU (
PID,
PARTITION_DATE,
PARTITION_ID,
HASH_COMPLETE,
IDX_STRING,
RES_ID
) VALUES (
10,
'2024-04-05',
1,
'5570851350247697202',
'Patient?birthdate=1974-12-25&family=WINDSOR&gender=http%3A%2F%2Fhl7.org%2Ffhir%2Fadministrative-gender%7Cmale',
1653
);
INSERT INTO HFJ_BLK_IMPORT_JOB (
PID,
JOB_ID,
JOB_STATUS,
STATUS_TIME,
STATUS_MESSAGE,
JOB_DESC,
OPTLOCK,
FILE_COUNT,
ROW_PROCESSING_MODE,
BATCH_SIZE
) VALUES (
61,
'0fe3744a-93f3-4bb8-a59e-15643566e513',
'READY',
'2024-04-04 16:09:14.488',
'',
'ETL Import Job: (unnamed)',
0,
1,
'FHIR_TRANSACTION',
10
);
INSERT INTO HFJ_BLK_IMPORT_JOBFILE (
PID,
JOB_PID,
JOB_CONTENTS,
FILE_DESCRIPTION,
FILE_SEQ,
TENANT_NAME
) VALUES (
65,
61,
72995,
'Rows 0 - 10',
0,
''
);
INSERT INTO TRM_VALUESET (
PID,
EXPANSION_STATUS,
EXPANDED_AT,
VSNAME,
RES_ID,
TOTAL_CONCEPT_DESIGNATIONS,
TOTAL_CONCEPTS,
URL,
VER
) VALUES (
60,
'EXPANDED',
'2024-04-04 16:09:14.488',
'v2.0926',
1654,
0,
3,
'http://terminology.hl7.org/ValueSet/v2-0926',
'2.9'
);

View File

@ -15,6 +15,7 @@ INSERT INTO HFJ_RESOURCE (
SP_QUANTITY_PRESENT,
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_CMPTOKS_PRESENT,
SP_URI_PRESENT,
RES_TYPE,
RES_VER
@ -36,20 +37,130 @@ INSERT INTO HFJ_RESOURCE (
0,
0,
1,
0,
1,
'Observation',
1
);
INSERT INTO HFJ_RESOURCE (
RES_ID,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
SP_HAS_LINKS,
HASH_SHA256,
SP_INDEX_STATUS,
SP_CMPSTR_UNIQ_PRESENT,
SP_COORDS_PRESENT,
SP_DATE_PRESENT,
SP_NUMBER_PRESENT,
SP_QUANTITY_NRML_PRESENT,
SP_QUANTITY_PRESENT,
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_CMPTOKS_PRESENT,
SP_URI_PRESENT,
RES_TYPE,
RES_VER
) VALUES (
1654,
'R4',
0,
SYSDATE,
SYSDATE,
0,
'712b39864f0650e6b9ffd7b4ffa7b2de5db4ceecbcbd76b1f1b8e152ed17fcd0',
1,
0,
0,
0,
0,
0,
0,
1,
1,
0,
1,
'VALUESET',
1
);
INSERT INTO HFJ_IDX_CMB_TOK_NU (
PID,
PARTITION_DATE,
PARTITION_ID,
HASH_COMPLETE,
IDX_STRING,
RES_ID
) VALUES (
10,
SYSDATE,
1,
'5570851350247697202',
'Patient?birthdate=1974-12-25&family=WINDSOR&gender=http%3A%2F%2Fhl7.org%2Ffhir%2Fadministrative-gender%7Cmale',
1653
);
INSERT INTO HFJ_BLK_IMPORT_JOB (
PID,
JOB_ID,
JOB_STATUS,
STATUS_TIME,
STATUS_MESSAGE,
JOB_DESC,
OPTLOCK,
FILE_COUNT,
ROW_PROCESSING_MODE,
BATCH_SIZE
) VALUES (
61,
'0fe3744a-93f3-4bb8-a59e-15643566e513',
'READY',
SYSDATE,
'',
'ETL Import Job: (unnamed)',
0,
1,
'FHIR_TRANSACTION',
10
);
INSERT INTO HFJ_BLK_IMPORT_JOBFILE (
PID,
JOB_PID,
JOB_CONTENTS,
FILE_DESCRIPTION,
FILE_SEQ,
TENANT_NAME
) VALUES (
65,
61,
HEXTORAW('453d7a34'),
'Rows 0 - 10',
0,
''
);
INSERT INTO TRM_VALUESET (
PID,
EXPANSION_STATUS,
EXPANDED_AT,
VSNAME,
RES_ID,
TOTAL_CONCEPT_DESIGNATIONS,
TOTAL_CONCEPTS,
URL,
VER
) VALUES (
60,
'EXPANDED',
SYSDATE,
'v2.0926',
1654,
0,
3,
'http://terminology.hl7.org/ValueSet/v2-0926',
'2.9'
);

View File

@ -15,6 +15,7 @@ INSERT INTO HFJ_RESOURCE (
SP_QUANTITY_PRESENT,
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_CMPTOKS_PRESENT,
SP_URI_PRESENT,
RES_TYPE,
RES_VER
@ -36,20 +37,130 @@ INSERT INTO HFJ_RESOURCE (
FALSE,
FALSE,
TRUE,
FALSE,
TRUE,
'Observation',
1
);
INSERT INTO HFJ_RESOURCE (
RES_ID,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
SP_HAS_LINKS,
HASH_SHA256,
SP_INDEX_STATUS,
SP_CMPSTR_UNIQ_PRESENT,
SP_COORDS_PRESENT,
SP_DATE_PRESENT,
SP_NUMBER_PRESENT,
SP_QUANTITY_NRML_PRESENT,
SP_QUANTITY_PRESENT,
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_CMPTOKS_PRESENT,
SP_URI_PRESENT,
RES_TYPE,
RES_VER
) VALUES (
1654,
'R4',
FALSE,
'2023-06-15 09:58:42.95',
'2023-06-15 09:58:42.95',
FALSE,
'712b39864f0650e6b9ffd7b4ffa7b2de5db4ceecbcbd76b1f1b8e152ed17fcd0',
1,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
TRUE,
TRUE,
FALSE,
TRUE,
'VALUESET',
1
);
INSERT INTO HFJ_IDX_CMB_TOK_NU (
PID,
PARTITION_DATE,
PARTITION_ID,
HASH_COMPLETE,
IDX_STRING,
RES_ID
) VALUES (
10,
'2024-04-05',
1,
'5570851350247697202',
'Patient?birthdate=1974-12-25&family=WINDSOR&gender=http%3A%2F%2Fhl7.org%2Ffhir%2Fadministrative-gender%7Cmale',
1653
);
INSERT INTO HFJ_BLK_IMPORT_JOB (
PID,
JOB_ID,
JOB_STATUS,
STATUS_TIME,
STATUS_MESSAGE,
JOB_DESC,
OPTLOCK,
FILE_COUNT,
ROW_PROCESSING_MODE,
BATCH_SIZE
) VALUES (
61,
'0fe3744a-93f3-4bb8-a59e-15643566e513',
'READY',
'2024-04-04 16:09:14.488',
'',
'ETL Import Job: (unnamed)',
0,
1,
'FHIR_TRANSACTION',
10
);
INSERT INTO HFJ_BLK_IMPORT_JOBFILE (
PID,
JOB_PID,
JOB_CONTENTS,
FILE_DESCRIPTION,
FILE_SEQ,
TENANT_NAME
) VALUES (
65,
61,
72995,
'Rows 0 - 10',
0,
''
);
INSERT INTO TRM_VALUESET (
PID,
EXPANSION_STATUS,
EXPANDED_AT,
VSNAME,
RES_ID,
TOTAL_CONCEPT_DESIGNATIONS,
TOTAL_CONCEPTS,
URL,
VER
) VALUES (
60,
'EXPANDED',
'2024-04-04 16:09:14.488',
'v2.0926',
1654,
0,
3,
'http://terminology.hl7.org/ValueSet/v2-0926',
'2.9'
);

View File

@ -0,0 +1,69 @@
INSERT INTO HFJ_RES_VER (
PID,
PARTITION_DATE,
PARTITION_ID,
RES_DELETED_AT,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
RES_ENCODING,
RES_TEXT,
RES_ID,
RES_TYPE,
RES_VER,
RES_TEXT_VC
) VALUES (
1656,
'2024-04-05',
1,
'2024-04-05',
'R4',
0,
'2023-06-01 15:54:05.296',
'2023-06-01 15:54:05.296',
'JSON',
1413284,
1656,
'Observation',
1,
'{"resourceType":"Observation","code":{"coding":[{"system":"http://loinc.org","code":"8302-2","display":"Body Height"}]},"subject":{"reference":"Patient/4454"},"effectiveDateTime":"2022-02-09T00:00:00Z","valueQuantity":{"value":0.12,"unit":"cm","system":"http://unitsofmeasure.org","code":"cm"}}'
);
INSERT INTO MPI_LINK (
PID,
CREATED,
EID_MATCH,
TARGET_TYPE,
LINK_SOURCE,
MATCH_RESULT,
NEW_PERSON,
PERSON_PID,
SCORE,
TARGET_PID,
UPDATED,
VECTOR,
VERSION,
GOLDEN_RESOURCE_PID,
RULE_COUNT,
PARTITION_DATE,
PARTITION_ID
) VALUES (
2,
'2024-04-05 15:16:26.43',
1,
'Observation',
0,
2,
1,
1906,
1.0,
1702,
'2023-04-05 15:16:26.43',
61,
'1',
1656,
1,
'2024-04-05',
1
);

View File

@ -0,0 +1,69 @@
INSERT INTO HFJ_RES_VER (
PID,
PARTITION_DATE,
PARTITION_ID,
RES_DELETED_AT,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
RES_ENCODING,
RES_TEXT,
RES_ID,
RES_TYPE,
RES_VER,
RES_TEXT_VC
) VALUES (
1656,
'2024-04-05',
1,
'2024-04-05 15:54:05.296',
'R4',
'false',
'2023-05-01 15:54:05.296',
'2023-05-01 15:54:05.296',
'JSON',
1413284,
1653,
'Observation',
1,
'{"resourceType":"Observation","code":{"coding":[{"system":"http://loinc.org","code":"8302-2","display":"Body Height"}]},"subject":{"reference":"Patient/4454"},"effectiveDateTime":"2022-02-09T00:00:00Z","valueQuantity":{"value":0.12,"unit":"cm","system":"http://unitsofmeasure.org","code":"cm"}}'
);
INSERT INTO MPI_LINK (
PID,
CREATED,
EID_MATCH,
TARGET_TYPE,
LINK_SOURCE,
MATCH_RESULT,
NEW_PERSON,
PERSON_PID,
SCORE,
TARGET_PID,
UPDATED,
VECTOR,
VERSION,
GOLDEN_RESOURCE_PID,
RULE_COUNT,
PARTITION_DATE,
PARTITION_ID
) VALUES (
2,
'2023-04-05 15:16:26.43',
'true',
'Observation',
0,
2,
'true',
1906,
1.0,
1702,
'2023-04-05 15:16:26.43',
61,
'1',
1653,
1,
'2024-04-05',
1
);

View File

@ -0,0 +1,69 @@
INSERT INTO HFJ_RES_VER (
PID,
PARTITION_DATE,
PARTITION_ID,
RES_DELETED_AT,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
RES_ENCODING,
RES_TEXT,
RES_ID,
RES_TYPE,
RES_VER,
RES_TEXT_VC
) VALUES (
1653,
SYSDATE,
1,
SYSDATE,
'R4',
0,
SYSDATE,
SYSDATE,
'JSON',
'1413284',
1653,
'Observation',
1,
'{"resourceType":"Observation","code":{"coding":[{"system":"http://loinc.org","code":"8302-2","display":"Body Height"}]},"subject":{"reference":"Patient/4454"},"effectiveDateTime":"2022-02-09T00:00:00Z","valueQuantity":{"value":0.12,"unit":"cm","system":"http://unitsofmeasure.org","code":"cm"}}'
);
INSERT INTO MPI_LINK (
PID,
CREATED,
EID_MATCH,
TARGET_TYPE,
LINK_SOURCE,
MATCH_RESULT,
NEW_PERSON,
PERSON_PID,
SCORE,
TARGET_PID,
UPDATED,
VECTOR,
VERSION,
GOLDEN_RESOURCE_PID,
RULE_COUNT,
PARTITION_DATE,
PARTITION_ID
) VALUES (
2,
SYSDATE,
1,
'Observation',
0,
2,
1,
1906,
1.0,
1702,
SYSDATE,
61,
'1',
1653,
1,
SYSDATE,
1
);

View File

@ -0,0 +1,69 @@
INSERT INTO HFJ_RES_VER (
PID,
PARTITION_DATE,
PARTITION_ID,
RES_DELETED_AT,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
RES_ENCODING,
RES_TEXT,
RES_ID,
RES_TYPE,
RES_VER,
RES_TEXT_VC
) VALUES (
1653,
'2024-04-05',
1,
'2024-04-05 15:54:05.296',
'R4',
FALSE,
'2023-05-01 15:54:05.296',
'2023-05-01 15:54:05.296',
'JSON',
1413284,
1653,
'Observation',
1,
'{"resourceType":"Observation","code":{"coding":[{"system":"http://loinc.org","code":"8302-2","display":"Body Height"}]},"subject":{"reference":"Patient/4454"},"effectiveDateTime":"2022-02-09T00:00:00Z","valueQuantity":{"value":0.12,"unit":"cm","system":"http://unitsofmeasure.org","code":"cm"}}'
);
INSERT INTO MPI_LINK (
PID,
CREATED,
EID_MATCH,
TARGET_TYPE,
LINK_SOURCE,
MATCH_RESULT,
NEW_PERSON,
PERSON_PID,
SCORE,
TARGET_PID,
UPDATED,
VECTOR,
VERSION,
GOLDEN_RESOURCE_PID,
RULE_COUNT,
PARTITION_DATE,
PARTITION_ID
) VALUES (
2,
'2023-04-05 15:16:26.43',
TRUE,
'Observation',
0,
2,
TRUE,
1906,
1.0,
1702,
'2023-04-05 15:16:26.43',
61,
'1',
1653,
1,
'2024-04-05',
1
);

View File

@ -14,6 +14,9 @@ INSERT INTO BT2_JOB_INSTANCE (
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
WORK_CHUNKS_PURGED
) VALUES (
'00161699-bcfe-428e-9ca2-caceb9645f8a',
@ -31,6 +34,9 @@ INSERT INTO BT2_JOB_INSTANCE (
1,
'2023-07-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
1
);
@ -46,7 +52,9 @@ INSERT INTO BT2_WORK_CHUNK (
SEQ,
START_TIME,
STAT,
TGT_STEP_ID
TGT_STEP_ID,
ERROR_MSG,
CHUNK_DATA
) VALUES (
'01d26875-8d1a-4e37-b554-62a3219f009b',
'2023-07-06 15:20:20.797',
@ -59,5 +67,7 @@ INSERT INTO BT2_WORK_CHUNK (
0,
'2023-07-06 15:21:11.14',
'COMPLETED',
'ReadInResourcesFromFileStep'
'ReadInResourcesFromFileStep',
'Error message',
72995
);

View File

@ -14,6 +14,9 @@ INSERT INTO BT2_JOB_INSTANCE (
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
WORK_CHUNKS_PURGED
) VALUES (
'00161699-bcfe-428e-9ca2-caceb9645f8a',
@ -31,6 +34,9 @@ INSERT INTO BT2_JOB_INSTANCE (
1,
'2023-07-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
1
);
@ -46,7 +52,9 @@ INSERT INTO BT2_WORK_CHUNK (
SEQ,
START_TIME,
STAT,
TGT_STEP_ID
TGT_STEP_ID,
ERROR_MSG,
CHUNK_DATA
) VALUES (
'01d26875-8d1a-4e37-b554-62a3219f009b',
'2023-07-06 15:20:20.797',
@ -59,5 +67,7 @@ INSERT INTO BT2_WORK_CHUNK (
0,
'2023-07-06 15:21:11.14',
'COMPLETED',
'ReadInResourcesFromFileStep'
'ReadInResourcesFromFileStep',
'Error message',
72995
);

View File

@ -14,6 +14,9 @@ INSERT INTO BT2_JOB_INSTANCE (
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
WORK_CHUNKS_PURGED
) VALUES (
'00161699-bcfe-428e-9ca2-caceb9645f8a',
@ -31,6 +34,9 @@ INSERT INTO BT2_JOB_INSTANCE (
1,
SYSDATE,
'COMPLETED',
200,
'Error message',
HEXTORAW('8B9D5255'),
1
);
@ -46,7 +52,9 @@ INSERT INTO BT2_WORK_CHUNK (
SEQ,
START_TIME,
STAT,
TGT_STEP_ID
TGT_STEP_ID,
ERROR_MSG,
CHUNK_DATA
) VALUES (
'01d26875-8d1a-4e37-b554-62a3219f009b',
SYSDATE,
@ -59,5 +67,7 @@ INSERT INTO BT2_WORK_CHUNK (
0,
SYSDATE,
'COMPLETED',
'ReadInResourcesFromFileStep'
'ReadInResourcesFromFileStep',
'Error message',
HEXTORAW('453d7a34')
);

View File

@ -14,6 +14,9 @@ INSERT INTO BT2_JOB_INSTANCE (
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
WORK_CHUNKS_PURGED
) VALUES (
'00161699-bcfe-428e-9ca2-caceb9645f8a',
@ -31,6 +34,9 @@ INSERT INTO BT2_JOB_INSTANCE (
1,
'2023-07-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
true
);
@ -46,7 +52,9 @@ INSERT INTO BT2_WORK_CHUNK (
SEQ,
START_TIME,
STAT,
TGT_STEP_ID
TGT_STEP_ID,
ERROR_MSG,
CHUNK_DATA
) VALUES (
'01d26875-8d1a-4e37-b554-62a3219f009b',
'2023-07-06 15:20:20.797',
@ -59,5 +67,7 @@ INSERT INTO BT2_WORK_CHUNK (
0,
'2023-07-06 15:21:11.14',
'COMPLETED',
'ReadInResourcesFromFileStep'
'ReadInResourcesFromFileStep',
'Error message',
72995
);

View File

@ -0,0 +1,43 @@
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
WORK_CHUNKS_PURGED,
REPORT
) VALUES (
'a59cb9c2-f699-44c7-bfee-93f1e6f68038',
0,
0,
0,
'2023-08-06 14:24:10.845',
'WriteBundleForImportStep',
'bulkImportJob',
1,
'2023-08-06 14:25:11.098',
0,
'0ms',
'{"jobId":"d184be05-a634-40c3-a3e6-ab811329308b","batchSize":100}',
1,
'2023-08-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
1,
72995
);

View File

@ -0,0 +1,43 @@
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
WORK_CHUNKS_PURGED,
REPORT
) VALUES (
'a59cb9c2-f699-44c7-bfee-93f1e6f68038',
0,
0,
0,
'2023-08-06 14:24:10.845',
'WriteBundleForImportStep',
'bulkImportJob',
1,
'2023-08-06 14:25:11.098',
0,
'0ms',
'{"jobId":"d184be05-a634-40c3-a3e6-ab811329308b","batchSize":100}',
1,
'2023-08-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
1,
72995
);

View File

@ -0,0 +1,43 @@
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
WORK_CHUNKS_PURGED,
REPORT
) VALUES (
'a59cb9c2-f699-44c7-bfee-93f1e6f68038',
0,
0,
0,
SYSDATE,
'WriteBundleForImportStep',
'bulkImportJob',
1,
SYSDATE,
0,
'0ms',
'{"jobId":"d184be05-a634-40c3-a3e6-ab811329308b","batchSize":100}',
1,
SYSDATE,
'COMPLETED',
200,
'Error message',
HEXTORAW('8B9D5255'),
1,
HEXTORAW('453d7a34')
);

View File

@ -0,0 +1,43 @@
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
WORK_CHUNKS_PURGED,
REPORT
) VALUES (
'a59cb9c2-f699-44c7-bfee-93f1e6f68038',
false,
0,
0,
'2023-08-06 14:24:10.845',
'WriteBundleForImportStep',
'bulkImportJob',
1,
'2023-08-06 14:25:11.098',
0,
'0ms',
'{"jobId":"d184be05-a634-40c3-a3e6-ab811329308b","batchSize":100}',
1,
'2023-08-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
true,
72995
);

View File

@ -0,0 +1,81 @@
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
WORK_CHUNKS_PURGED,
REPORT,
FAST_TRACKING,
UPDATE_TIME
) VALUES (
'cf969d58-44a5-4493-89c1-437e637532eb',
0,
0,
0,
'2023-08-06 14:24:10.845',
'WriteBundleForImportStep',
'bulkImportJob',
1,
'2023-08-06 14:25:11.098',
0,
'0ms',
'{"jobId":"37698660-4a0f-4c9c-84d5-b6f231def870","batchSize":100}',
1,
'2023-08-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
1,
72995,
0,
'2023-08-06 14:24:10.875'
);
INSERT INTO BT2_WORK_CHUNK (
ID,
CREATE_TIME,
END_TIME,
ERROR_COUNT,
INSTANCE_ID,
DEFINITION_ID,
DEFINITION_VER,
RECORDS_PROCESSED,
SEQ,
START_TIME,
STAT,
TGT_STEP_ID,
ERROR_MSG,
CHUNK_DATA,
UPDATE_TIME
) VALUES (
'3a8d1bce-3a49-4f3d-98ac-f813b053772f',
'2023-07-06 15:20:20.797',
'2023-07-06 15:21:11.142',
0,
'cf969d58-44a5-4493-89c1-437e637532eb',
'bulkImportJob',
1,
0,
0,
'2023-07-06 15:21:11.14',
'COMPLETED',
'ReadInResourcesFromFileStep',
'Error message',
72995,
'2023-07-06 15:21:11.14'
);

View File

@ -0,0 +1,81 @@
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
WORK_CHUNKS_PURGED,
REPORT,
FAST_TRACKING,
UPDATE_TIME
) VALUES (
'cf969d58-44a5-4493-89c1-437e637532eb',
0,
0,
0,
'2023-08-06 14:24:10.845',
'WriteBundleForImportStep',
'bulkImportJob',
1,
'2023-08-06 14:25:11.098',
0,
'0ms',
'{"jobId":"37698660-4a0f-4c9c-84d5-b6f231def870","batchSize":100}',
1,
'2023-08-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
1,
72995,
'false',
'2023-07-06 15:21:11.14'
);
INSERT INTO BT2_WORK_CHUNK (
ID,
CREATE_TIME,
END_TIME,
ERROR_COUNT,
INSTANCE_ID,
DEFINITION_ID,
DEFINITION_VER,
RECORDS_PROCESSED,
SEQ,
START_TIME,
STAT,
TGT_STEP_ID,
ERROR_MSG,
CHUNK_DATA,
UPDATE_TIME
) VALUES (
'3a8d1bce-3a49-4f3d-98ac-f813b053772f',
'2023-07-06 15:20:20.797',
'2023-07-06 15:21:11.142',
0,
'cf969d58-44a5-4493-89c1-437e637532eb',
'bulkImportJob',
1,
0,
0,
'2023-07-06 15:21:11.14',
'COMPLETED',
'ReadInResourcesFromFileStep',
'Error message',
72995,
'2023-07-06 15:21:11.14'
);

View File

@ -0,0 +1,81 @@
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
WORK_CHUNKS_PURGED,
REPORT,
FAST_TRACKING,
UPDATE_TIME
) VALUES (
'cf969d58-44a5-4493-89c1-437e637532eb',
0,
0,
0,
SYSDATE,
'WriteBundleForImportStep',
'bulkImportJob',
1,
SYSDATE,
0,
'0ms',
'{"jobId":"37698660-4a0f-4c9c-84d5-b6f231def870","batchSize":100}',
1,
SYSDATE,
'COMPLETED',
200,
'Error message',
HEXTORAW('8B9D5255'),
1,
HEXTORAW('453d7a34'),
0,
SYSDATE
);
INSERT INTO BT2_WORK_CHUNK (
ID,
CREATE_TIME,
END_TIME,
ERROR_COUNT,
INSTANCE_ID,
DEFINITION_ID,
DEFINITION_VER,
RECORDS_PROCESSED,
SEQ,
START_TIME,
STAT,
TGT_STEP_ID,
ERROR_MSG,
CHUNK_DATA,
UPDATE_TIME
) VALUES (
'3a8d1bce-3a49-4f3d-98ac-f813b053772f',
SYSDATE,
SYSDATE,
0,
'cf969d58-44a5-4493-89c1-437e637532eb',
'bulkImportJob',
1,
0,
0,
SYSDATE,
'COMPLETED',
'ReadInResourcesFromFileStep',
'Error message',
HEXTORAW('453d7a34'),
SYSDATE
);

View File

@ -0,0 +1,81 @@
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
WORK_CHUNKS_PURGED,
REPORT,
FAST_TRACKING,
UPDATE_TIME
) VALUES (
'cf969d58-44a5-4493-89c1-437e637532eb',
false,
0,
0,
'2023-08-06 14:24:10.845',
'WriteBundleForImportStep',
'bulkImportJob',
1,
'2023-08-06 14:25:11.098',
0,
'0ms',
'{"jobId":"37698660-4a0f-4c9c-84d5-b6f231def870","batchSize":100}',
1,
'2023-08-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
true,
72995,
false,
'2023-08-06 14:24:10.875'
);
INSERT INTO BT2_WORK_CHUNK (
ID,
CREATE_TIME,
END_TIME,
ERROR_COUNT,
INSTANCE_ID,
DEFINITION_ID,
DEFINITION_VER,
RECORDS_PROCESSED,
SEQ,
START_TIME,
STAT,
TGT_STEP_ID,
ERROR_MSG,
CHUNK_DATA,
UPDATE_TIME
) VALUES (
'3a8d1bce-3a49-4f3d-98ac-f813b053772f',
'2023-07-06 15:20:20.797',
'2023-07-06 15:21:11.142',
0,
'cf969d58-44a5-4493-89c1-437e637532eb',
'bulkImportJob',
1,
0,
0,
'2023-07-06 15:21:11.14',
'COMPLETED',
'ReadInResourcesFromFileStep',
'Error message',
72995,
'2023-07-06 15:21:11.14'
);

View File

@ -0,0 +1,45 @@
INSERT INTO HFJ_RESOURCE (
RES_ID,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
FHIR_ID,
SP_HAS_LINKS,
HASH_SHA256,
SP_INDEX_STATUS,
SP_CMPSTR_UNIQ_PRESENT,
SP_COORDS_PRESENT,
SP_DATE_PRESENT,
SP_NUMBER_PRESENT,
SP_QUANTITY_NRML_PRESENT,
SP_QUANTITY_PRESENT,
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_CMPTOKS_PRESENT,
SP_URI_PRESENT,
RES_TYPE,
RES_VER
) VALUES (
1670,
'R4',
0,
'2023-06-15 09:58:42.92',
'2023-06-15 09:58:42.92',
'1670',
0,
'6beed652b77f6c65d776e57341a0b5b0596ac9cfb0e8345a5a5cfbfaa59e2b62',
1,
0,
0,
0,
0,
1,
0,
0,
1,
0,
1,
'Observation',
1
);

View File

@ -0,0 +1,45 @@
INSERT INTO HFJ_RESOURCE (
RES_ID,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
FHIR_ID,
SP_HAS_LINKS,
HASH_SHA256,
SP_INDEX_STATUS,
SP_CMPSTR_UNIQ_PRESENT,
SP_COORDS_PRESENT,
SP_DATE_PRESENT,
SP_NUMBER_PRESENT,
SP_QUANTITY_NRML_PRESENT,
SP_QUANTITY_PRESENT,
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_CMPTOKS_PRESENT,
SP_URI_PRESENT,
RES_TYPE,
RES_VER
) VALUES (
1670,
'R4',
'false',
'2023-06-15 09:58:42.92',
'2023-06-15 09:58:42.92',
'1670',
'false',
'6beed652b77f6c65d776e57341a0b5b0596ac9cfb0e8345a5a5cfbfaa59e2b62',
1,
'false',
'false',
'false',
'false',
'true',
'false',
'false',
'true',
'false',
'true',
'Observation',
1
);

View File

@ -0,0 +1,45 @@
INSERT INTO HFJ_RESOURCE (
RES_ID,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
FHIR_ID,
SP_HAS_LINKS,
HASH_SHA256,
SP_INDEX_STATUS,
SP_CMPSTR_UNIQ_PRESENT,
SP_COORDS_PRESENT,
SP_DATE_PRESENT,
SP_NUMBER_PRESENT,
SP_QUANTITY_NRML_PRESENT,
SP_QUANTITY_PRESENT,
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_CMPTOKS_PRESENT,
SP_URI_PRESENT,
RES_TYPE,
RES_VER
) VALUES (
1670,
'R4',
0,
SYSDATE,
SYSDATE,
'1670',
0,
'6beed652b77f6c65d776e57341a0b5b0596ac9cfb0e8345a5a5cfbfaa59e2b62',
1,
0,
0,
0,
0,
1,
0,
0,
1,
0,
1,
'Observation',
1
);

View File

@ -0,0 +1,45 @@
INSERT INTO HFJ_RESOURCE (
RES_ID,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
FHIR_ID,
SP_HAS_LINKS,
HASH_SHA256,
SP_INDEX_STATUS,
SP_CMPSTR_UNIQ_PRESENT,
SP_COORDS_PRESENT,
SP_DATE_PRESENT,
SP_NUMBER_PRESENT,
SP_QUANTITY_NRML_PRESENT,
SP_QUANTITY_PRESENT,
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_CMPTOKS_PRESENT,
SP_URI_PRESENT,
RES_TYPE,
RES_VER
) VALUES (
1670,
'R4',
FALSE,
'2023-06-15 09:58:42.92',
'2023-06-15 09:58:42.92',
'1670',
FALSE,
'6beed652b77f6c65d776e57341a0b5b0596ac9cfb0e8345a5a5cfbfaa59e2b62',
1,
FALSE,
FALSE,
FALSE,
FALSE,
TRUE,
FALSE,
FALSE,
TRUE,
FALSE,
TRUE,
'Observation',
1
);

View File

@ -16,6 +16,7 @@ INSERT INTO HFJ_RESOURCE (
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_URI_PRESENT,
SEARCH_URL_PRESENT,
RES_TYPE,
RES_VER
) VALUES (
@ -36,6 +37,7 @@ INSERT INTO HFJ_RESOURCE (
0,
1,
1,
0,
'Observation',
1
);
@ -52,9 +54,11 @@ INSERT INTO HFJ_RES_SEARCH_URL (
);
INSERT INTO HFJ_REVINFO (
REV
REV,
REVTSTMP
) VALUES (
1
1,
'2024-03-29 10:14:40.69'
);
INSERT INTO MPI_LINK_AUD (
@ -71,7 +75,12 @@ INSERT INTO MPI_LINK_AUD (
VERSION,
EID_MATCH,
NEW_PERSON,
SCORE
SCORE,
CREATED,
UPDATED,
VECTOR,
PARTITION_ID,
PARTITION_DATE
) VALUES (
1,
1,
@ -86,7 +95,42 @@ INSERT INTO MPI_LINK_AUD (
1,
0,
1,
1
1,
'2024-03-29 10:14:40.69',
'2024-03-29 10:14:41.70',
3,
1,
'2024-04-05'
);
INSERT INTO HFJ_TAG_DEF (
TAG_ID,
TAG_CODE,
TAG_DISPLAY,
TAG_SYSTEM,
TAG_TYPE,
TAG_USER_SELECTED,
TAG_VERSION
) VALUES (
3,
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient',
'display',
'https://github.com/hapifhir/hapi-fhir/ns/jpa/profile',
1,
0,
'V 1.0'
);
INSERT INTO HFJ_RESOURCE_MODIFIED (
RES_ID,
RES_VER,
CREATED_TIME,
RESOURCE_TYPE,
SUMMARY_MESSAGE
) VALUES (
'1',
'1',
'2024-03-30 10:14:41.70',
'Observation',
'{"operationType":"CREATE","attributes":{"attKey":"attValue"},"transactionId":"txId","mediaType":"json","messageKey":"messageKey","payloadId":"Observation/1","partitionId":{"allPartitions":true},"payloadVersion":"1","subscriptionId":"subId"}'
);

View File

@ -16,6 +16,7 @@ INSERT INTO HFJ_RESOURCE (
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_URI_PRESENT,
SEARCH_URL_PRESENT,
RES_TYPE,
RES_VER
) VALUES (
@ -36,6 +37,7 @@ INSERT INTO HFJ_RESOURCE (
0,
1,
1,
0,
'Observation',
1
);
@ -52,9 +54,11 @@ INSERT INTO HFJ_RES_SEARCH_URL (
);
INSERT INTO HFJ_REVINFO (
REV
REV,
REVTSTMP
) VALUES (
1
1,
'2024-03-29 10:14:40.69'
);
INSERT INTO MPI_LINK_AUD (
@ -71,7 +75,12 @@ INSERT INTO MPI_LINK_AUD (
VERSION,
EID_MATCH,
NEW_PERSON,
SCORE
SCORE,
CREATED,
UPDATED,
VECTOR,
PARTITION_ID,
PARTITION_DATE
) VALUES (
1,
1,
@ -86,7 +95,42 @@ INSERT INTO MPI_LINK_AUD (
1,
0,
1,
1
1,
'2024-03-29 10:14:40.69',
'2024-03-29 10:14:41.70',
3,
1,
'2024-04-05'
);
INSERT INTO HFJ_TAG_DEF (
TAG_ID,
TAG_CODE,
TAG_DISPLAY,
TAG_SYSTEM,
TAG_TYPE,
TAG_USER_SELECTED,
TAG_VERSION
) VALUES (
3,
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient',
'display',
'https://github.com/hapifhir/hapi-fhir/ns/jpa/profile',
1,
0,
'V 1.0'
);
INSERT INTO HFJ_RESOURCE_MODIFIED (
RES_ID,
RES_VER,
CREATED_TIME,
RESOURCE_TYPE,
SUMMARY_MESSAGE
) VALUES (
'1',
'1',
'2024-03-30 10:14:41.70',
'Observation',
'{"operationType":"CREATE","attributes":{"attKey":"attValue"},"transactionId":"txId","mediaType":"json","messageKey":"messageKey","payloadId":"Observation/1","partitionId":{"allPartitions":true},"payloadVersion":"1","subscriptionId":"subId"}'
);

View File

@ -16,6 +16,7 @@ INSERT INTO HFJ_RESOURCE (
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_URI_PRESENT,
SEARCH_URL_PRESENT,
RES_TYPE,
RES_VER
) VALUES (
@ -36,6 +37,7 @@ INSERT INTO HFJ_RESOURCE (
0,
1,
1,
0,
'Observation',
1
);
@ -52,9 +54,11 @@ INSERT INTO HFJ_RES_SEARCH_URL (
);
INSERT INTO HFJ_REVINFO (
REV
REV,
REVTSTMP
) VALUES (
1
1,
SYSDATE
);
INSERT INTO MPI_LINK_AUD (
@ -71,7 +75,12 @@ INSERT INTO MPI_LINK_AUD (
VERSION,
EID_MATCH,
NEW_PERSON,
SCORE
SCORE,
CREATED,
UPDATED,
VECTOR,
PARTITION_ID,
PARTITION_DATE
) VALUES (
1,
1,
@ -86,7 +95,42 @@ INSERT INTO MPI_LINK_AUD (
1,
0,
1,
1
1,
SYSDATE,
SYSDATE,
3,
1,
SYSDATE
);
INSERT INTO HFJ_TAG_DEF (
TAG_ID,
TAG_CODE,
TAG_DISPLAY,
TAG_SYSTEM,
TAG_TYPE,
TAG_USER_SELECTED,
TAG_VERSION
) VALUES (
3,
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient',
'display',
'https://github.com/hapifhir/hapi-fhir/ns/jpa/profile',
1,
0,
'V 1.0'
);
INSERT INTO HFJ_RESOURCE_MODIFIED (
RES_ID,
RES_VER,
CREATED_TIME,
RESOURCE_TYPE,
SUMMARY_MESSAGE
) VALUES (
'1',
'1',
SYSDATE,
'Observation',
'{"operationType":"CREATE","attributes":{"attKey":"attValue"},"transactionId":"txId","mediaType":"json","messageKey":"messageKey","payloadId":"Observation/1","partitionId":{"allPartitions":true},"payloadVersion":"1","subscriptionId":"subId"}'
);

View File

@ -16,6 +16,7 @@ INSERT INTO HFJ_RESOURCE (
SP_STRING_PRESENT,
SP_TOKEN_PRESENT,
SP_URI_PRESENT,
SEARCH_URL_PRESENT,
RES_TYPE,
RES_VER
) VALUES (
@ -36,6 +37,7 @@ INSERT INTO HFJ_RESOURCE (
false,
true,
true,
false,
'Observation',
1
);
@ -52,9 +54,11 @@ INSERT INTO HFJ_RES_SEARCH_URL (
);
INSERT INTO HFJ_REVINFO (
REV
REV,
REVTSTMP
) VALUES (
1
1,
'2024-03-29 10:14:40.69'
);
INSERT INTO MPI_LINK_AUD (
@ -71,7 +75,12 @@ INSERT INTO MPI_LINK_AUD (
VERSION,
EID_MATCH,
NEW_PERSON,
SCORE
SCORE,
CREATED,
UPDATED,
VECTOR,
PARTITION_ID,
PARTITION_DATE
) VALUES (
1,
1,
@ -86,7 +95,42 @@ INSERT INTO MPI_LINK_AUD (
1,
false,
true,
1
1,
'2024-03-29 10:14:40.69',
'2024-03-29 10:14:41.70',
3,
1,
'2024-04-05'
);
INSERT INTO HFJ_TAG_DEF (
TAG_ID,
TAG_CODE,
TAG_DISPLAY,
TAG_SYSTEM,
TAG_TYPE,
TAG_USER_SELECTED,
TAG_VERSION
) VALUES (
3,
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient',
'display',
'https://github.com/hapifhir/hapi-fhir/ns/jpa/profile',
1,
false,
'V 1.0'
);
INSERT INTO HFJ_RESOURCE_MODIFIED (
RES_ID,
RES_VER,
CREATED_TIME,
RESOURCE_TYPE,
SUMMARY_MESSAGE
) VALUES (
'1',
'1',
'2024-03-30 10:14:41.70',
'Observation',
'{"operationType":"CREATE","attributes":{"attKey":"attValue"},"transactionId":"txId","mediaType":"json","messageKey":"messageKey","payloadId":"Observation/1","partitionId":{"allPartitions":true},"payloadVersion":"1","subscriptionId":"subId"}'
);

View File

@ -0,0 +1,195 @@
INSERT INTO HFJ_RES_VER (
PID,
PARTITION_DATE,
PARTITION_ID,
RES_DELETED_AT,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
RES_ENCODING,
RES_TEXT,
RES_ID,
RES_TYPE,
RES_VER,
RES_TEXT_VC,
REQUEST_ID,
SOURCE_URI
) VALUES (
1678,
'2024-04-05',
1,
'2024-04-05 15:54:05.296',
'R4',
0,
'2023-05-01 15:54:05.296',
'2023-05-01 15:54:05.296',
'JSON',
1413284,
1678,
'Observation',
1,
'{"resourceType":"Patient","meta":{"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]},"name":[{"family":"Lastname","given":["Firstname"],"prefix":["Mrs"]}],"telecom":[{"system":"phone","value":"1-800-683-1319","use":"home"}],"gender":"female","birthDate":"1960-09-30","address":[{"line":["622 College Street"],"city":"Toronto","state":"Ontario","country":"Canada"}],"generalPractitioner":[{"reference":"Practitioner/P1","display":"Dr S. Doctor"}],"managingOrganization":{"reference":"Organization/O1","display":"Bedrock General Hospital"}}',
'OUNwoE5RUlX8UuEF',
'urn:source:1'
);
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
PARAMS_JSON_VC,
WORK_CHUNKS_PURGED,
REPORT,
REPORT_VC,
FAST_TRACKING,
UPDATE_TIME,
WARNING_MSG
) VALUES (
'2eb2c28c-fa20-48df-9652-00669dcaea2c',
0,
0,
0,
'2023-08-06 14:24:10.845',
'WriteBundleForImportStep',
'bulkImportJob',
1,
'2023-08-06 14:25:11.098',
0,
'0ms',
'{"jobId":"ec0df47d-8741-41cb-ab77-ca7c00c4799d","batchSize":100}',
1,
'2023-08-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
'{"jobId":"ec0df47d-8741-41cb-ab77-ca7c00c4799d","batchSize":100}',
1,
72995,
'report',
0,
'2023-08-06 14:24:10.875',
'Failed to reindex resource because unique search parameter unique-code could not be enforced.'
);
INSERT INTO BT2_WORK_CHUNK (
ID,
CREATE_TIME,
END_TIME,
ERROR_COUNT,
INSTANCE_ID,
DEFINITION_ID,
DEFINITION_VER,
RECORDS_PROCESSED,
SEQ,
START_TIME,
STAT,
TGT_STEP_ID,
ERROR_MSG,
CHUNK_DATA,
CHUNK_DATA_VC,
UPDATE_TIME,
WARNING_MSG
) VALUES (
'6bcd7278-eacb-4f97-b6ed-4086b36747e5',
'2023-07-06 15:20:20.797',
'2023-07-06 15:21:11.142',
0,
'2eb2c28c-fa20-48df-9652-00669dcaea2c',
'bulkImportJob',
1,
0,
0,
'2023-07-06 15:21:11.14',
'COMPLETED',
'ReadInResourcesFromFileStep',
'Error message',
72995,
'{"key":"value"}',
'2023-07-06 15:21:11.14',
'Failed to reindex resource because unique search parameter unique-code could not be enforced.'
);
INSERT INTO HFJ_BLK_IMPORT_JOBFILE (
PID,
JOB_PID,
JOB_CONTENTS,
JOB_CONTENTS_VC,
FILE_DESCRIPTION,
FILE_SEQ,
TENANT_NAME
) VALUES (
66,
61,
72995,
'content_1',
'Rows 0 - 10',
0,
''
);
INSERT INTO HFJ_SEARCH (
PID,
CREATED,
SEARCH_DELETED,
EXPIRY_OR_NULL,
FAILURE_CODE,
FAILURE_MESSAGE,
LAST_UPDATED_HIGH,
LAST_UPDATED_LOW,
NUM_BLOCKED,
NUM_FOUND,
PREFERRED_PAGE_SIZE,
RESOURCE_ID,
RESOURCE_TYPE,
SEARCH_PARAM_MAP,
SEARCH_PARAM_MAP_BIN,
SEARCH_QUERY_STRING,
SEARCH_QUERY_STRING_HASH,
SEARCH_QUERY_STRING_VC,
SEARCH_TYPE,
SEARCH_STATUS,
TOTAL_COUNT,
SEARCH_UUID,
OPTLOCK_VERSION
) VALUES (
53,
'2023-05-01 16:52:09.149',
FALSE,
'2024-04-05 15:16:26.43',
500,
'Failure Message',
'2024-04-05 15:17:26.43',
'2024-04-05 15:18:26.43',
0,
1,
10,
1906,
'Patient',
5146583,
7368816,
8479927,
1212873581,
'?_lastUpdated=le2021-05-31',
1,
'FINISHED',
1,
'2999ba50-f77c-11ee-89b4-0800200c9a66',
1
);

View File

@ -0,0 +1,195 @@
INSERT INTO HFJ_RES_VER (
PID,
PARTITION_DATE,
PARTITION_ID,
RES_DELETED_AT,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
RES_ENCODING,
RES_TEXT,
RES_ID,
RES_TYPE,
RES_VER,
RES_TEXT_VC,
REQUEST_ID,
SOURCE_URI
) VALUES (
1678,
'2024-04-05',
1,
'2024-04-05 15:54:05.296',
'R4',
'false',
'2023-05-01 15:54:05.296',
'2023-05-01 15:54:05.296',
'JSON',
1413284,
1678,
'Observation',
1,
'{"resourceType":"Patient","meta":{"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]},"name":[{"family":"Lastname","given":["Firstname"],"prefix":["Mrs"]}],"telecom":[{"system":"phone","value":"1-800-683-1319","use":"home"}],"gender":"female","birthDate":"1960-09-30","address":[{"line":["622 College Street"],"city":"Toronto","state":"Ontario","country":"Canada"}],"generalPractitioner":[{"reference":"Practitioner/P1","display":"Dr S. Doctor"}],"managingOrganization":{"reference":"Organization/O1","display":"Bedrock General Hospital"}}',
'OUNwoE5RUlX8UuEF',
'urn:source:1'
);
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
PARAMS_JSON_VC,
WORK_CHUNKS_PURGED,
REPORT,
REPORT_VC,
FAST_TRACKING,
UPDATE_TIME,
WARNING_MSG
) VALUES (
'2eb2c28c-fa20-48df-9652-00669dcaea2c',
0,
0,
0,
'2023-08-06 14:24:10.845',
'WriteBundleForImportStep',
'bulkImportJob',
1,
'2023-08-06 14:25:11.098',
0,
'0ms',
'{"jobId":"ec0df47d-8741-41cb-ab77-ca7c00c4799d","batchSize":100}',
1,
'2023-08-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
'{"jobId":"ec0df47d-8741-41cb-ab77-ca7c00c4799d","batchSize":100}',
1,
72995,
'report',
'false',
'2023-08-06 14:24:10.875',
'Failed to reindex resource because unique search parameter unique-code could not be enforced.'
);
INSERT INTO BT2_WORK_CHUNK (
ID,
CREATE_TIME,
END_TIME,
ERROR_COUNT,
INSTANCE_ID,
DEFINITION_ID,
DEFINITION_VER,
RECORDS_PROCESSED,
SEQ,
START_TIME,
STAT,
TGT_STEP_ID,
ERROR_MSG,
CHUNK_DATA,
CHUNK_DATA_VC,
UPDATE_TIME,
WARNING_MSG
) VALUES (
'6bcd7278-eacb-4f97-b6ed-4086b36747e5',
'2023-07-06 15:20:20.797',
'2023-07-06 15:21:11.142',
0,
'2eb2c28c-fa20-48df-9652-00669dcaea2c',
'bulkImportJob',
1,
0,
0,
'2023-07-06 15:21:11.14',
'COMPLETED',
'ReadInResourcesFromFileStep',
'Error message',
72995,
'{"key":"value"}',
'2023-07-06 15:21:11.14',
'Failed to reindex resource because unique search parameter unique-code could not be enforced.'
);
INSERT INTO HFJ_BLK_IMPORT_JOBFILE (
PID,
JOB_PID,
JOB_CONTENTS,
JOB_CONTENTS_VC,
FILE_DESCRIPTION,
FILE_SEQ,
TENANT_NAME
) VALUES (
66,
61,
72995,
'content_1',
'Rows 0 - 10',
0,
''
);
INSERT INTO HFJ_SEARCH (
PID,
CREATED,
SEARCH_DELETED,
EXPIRY_OR_NULL,
FAILURE_CODE,
FAILURE_MESSAGE,
LAST_UPDATED_HIGH,
LAST_UPDATED_LOW,
NUM_BLOCKED,
NUM_FOUND,
PREFERRED_PAGE_SIZE,
RESOURCE_ID,
RESOURCE_TYPE,
SEARCH_PARAM_MAP,
SEARCH_PARAM_MAP_BIN,
SEARCH_QUERY_STRING,
SEARCH_QUERY_STRING_HASH,
SEARCH_QUERY_STRING_VC,
SEARCH_TYPE,
SEARCH_STATUS,
TOTAL_COUNT,
SEARCH_UUID,
OPTLOCK_VERSION
) VALUES (
53,
'2023-05-01 16:52:09.149',
0,
'2024-04-05 15:16:26.43',
500,
'Failure Message',
'2024-04-05 15:17:26.43',
'2024-04-05 15:18:26.43',
0,
1,
10,
1906,
'Patient',
5146583,
7368816,
8479927,
1212873581,
'?_lastUpdated=le2021-05-31',
1,
'FINISHED',
1,
'2999ba50-f77c-11ee-89b4-0800200c9a66',
1
);

View File

@ -0,0 +1,195 @@
INSERT INTO HFJ_RES_VER (
PID,
PARTITION_DATE,
PARTITION_ID,
RES_DELETED_AT,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
RES_ENCODING,
RES_TEXT,
RES_ID,
RES_TYPE,
RES_VER,
RES_TEXT_VC,
REQUEST_ID,
SOURCE_URI
) VALUES (
1678,
SYSDATE,
1,
SYSDATE,
'R4',
0,
SYSDATE,
SYSDATE,
'JSON',
'1413284',
1678,
'Observation',
1,
'{"resourceType":"Patient","meta":{"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]},"name":[{"family":"Lastname","given":["Firstname"],"prefix":["Mrs"]}],"telecom":[{"system":"phone","value":"1-800-683-1319","use":"home"}],"gender":"female","birthDate":"1960-09-30","address":[{"line":["622 College Street"],"city":"Toronto","state":"Ontario","country":"Canada"}],"generalPractitioner":[{"reference":"Practitioner/P1","display":"Dr S. Doctor"}],"managingOrganization":{"reference":"Organization/O1","display":"Bedrock General Hospital"}}',
'OUNwoE5RUlX8UuEF',
'urn:source:1'
);
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
PARAMS_JSON_VC,
WORK_CHUNKS_PURGED,
REPORT,
REPORT_VC,
FAST_TRACKING,
UPDATE_TIME,
WARNING_MSG
) VALUES (
'2eb2c28c-fa20-48df-9652-00669dcaea2c',
0,
0,
0,
SYSDATE,
'WriteBundleForImportStep',
'bulkImportJob',
1,
SYSDATE,
0,
'0ms',
'{"jobId":"37698660-4a0f-4c9c-84d5-b6f231def870","batchSize":100}',
1,
SYSDATE,
'COMPLETED',
200,
'Error message',
HEXTORAW('8B9D5255'),
'{"jobId":"ec0df47d-8741-41cb-ab77-ca7c00c4799d","batchSize":100}',
1,
HEXTORAW('453d7a34'),
'report',
0,
SYSDATE,
'Failed to reindex resource because unique search parameter unique-code could not be enforced.'
);
INSERT INTO BT2_WORK_CHUNK (
ID,
CREATE_TIME,
END_TIME,
ERROR_COUNT,
INSTANCE_ID,
DEFINITION_ID,
DEFINITION_VER,
RECORDS_PROCESSED,
SEQ,
START_TIME,
STAT,
TGT_STEP_ID,
ERROR_MSG,
CHUNK_DATA,
CHUNK_DATA_VC,
UPDATE_TIME,
WARNING_MSG
) VALUES (
'6bcd7278-eacb-4f97-b6ed-4086b36747e5',
SYSDATE,
SYSDATE,
0,
'2eb2c28c-fa20-48df-9652-00669dcaea2c',
'bulkImportJob',
1,
0,
0,
SYSDATE,
'COMPLETED',
'ReadInResourcesFromFileStep',
'Error message',
HEXTORAW('453d7a34'),
'{"key":"value"}',
SYSDATE,
'Failed to reindex resource because unique search parameter unique-code could not be enforced.'
);
INSERT INTO HFJ_BLK_IMPORT_JOBFILE (
PID,
JOB_PID,
JOB_CONTENTS,
JOB_CONTENTS_VC,
FILE_DESCRIPTION,
FILE_SEQ,
TENANT_NAME
) VALUES (
66,
61,
HEXTORAW('453d7a34'),
'content_1',
'Rows 0 - 10',
0,
''
);
INSERT INTO HFJ_SEARCH (
PID,
CREATED,
SEARCH_DELETED,
EXPIRY_OR_NULL,
FAILURE_CODE,
FAILURE_MESSAGE,
LAST_UPDATED_HIGH,
LAST_UPDATED_LOW,
NUM_BLOCKED,
NUM_FOUND,
PREFERRED_PAGE_SIZE,
RESOURCE_ID,
RESOURCE_TYPE,
SEARCH_PARAM_MAP,
SEARCH_PARAM_MAP_BIN,
SEARCH_QUERY_STRING,
SEARCH_QUERY_STRING_HASH,
SEARCH_QUERY_STRING_VC,
SEARCH_TYPE,
SEARCH_STATUS,
TOTAL_COUNT,
SEARCH_UUID,
OPTLOCK_VERSION
) VALUES (
53,
SYSDATE,
0,
SYSDATE,
500,
'Failure Message',
SYSDATE,
SYSDATE,
0,
1,
10,
1906,
'Patient',
HEXTORAW('1B25E293'),
HEXTORAW('453d7a34'),
HEXTORAW('28721FB0'),
1212873581,
'?_lastUpdated=le2021-05-31',
1,
'FINISHED',
1,
'2999ba50-f77c-11ee-89b4-0800200c9a66',
1
);

View File

@ -0,0 +1,195 @@
INSERT INTO HFJ_RES_VER (
PID,
PARTITION_DATE,
PARTITION_ID,
RES_DELETED_AT,
RES_VERSION,
HAS_TAGS,
RES_PUBLISHED,
RES_UPDATED,
RES_ENCODING,
RES_TEXT,
RES_ID,
RES_TYPE,
RES_VER,
RES_TEXT_VC,
REQUEST_ID,
SOURCE_URI
) VALUES (
1678,
'2024-04-05',
1,
'2024-04-05 15:54:05.296',
'R4',
FALSE,
'2023-05-01 15:54:05.296',
'2023-05-01 15:54:05.296',
'JSON',
1413284,
1678,
'Observation',
1,
'{"resourceType":"Patient","meta":{"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]},"name":[{"family":"Lastname","given":["Firstname"],"prefix":["Mrs"]}],"telecom":[{"system":"phone","value":"1-800-683-1319","use":"home"}],"gender":"female","birthDate":"1960-09-30","address":[{"line":["622 College Street"],"city":"Toronto","state":"Ontario","country":"Canada"}],"generalPractitioner":[{"reference":"Practitioner/P1","display":"Dr S. Doctor"}],"managingOrganization":{"reference":"Organization/O1","display":"Bedrock General Hospital"}}',
'OUNwoE5RUlX8UuEF',
'urn:source:1'
);
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
PARAMS_JSON_VC,
WORK_CHUNKS_PURGED,
REPORT,
REPORT_VC,
FAST_TRACKING,
UPDATE_TIME,
WARNING_MSG
) VALUES (
'2eb2c28c-fa20-48df-9652-00669dcaea2c',
false,
0,
0,
'2023-08-06 14:24:10.845',
'WriteBundleForImportStep',
'bulkImportJob',
1,
'2023-08-06 14:25:11.098',
0,
'0ms',
'{"jobId":"ec0df47d-8741-41cb-ab77-ca7c00c4799d","batchSize":100}',
1,
'2023-08-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
'{"jobId":"ec0df47d-8741-41cb-ab77-ca7c00c4799d","batchSize":100}',
true,
72995,
'report',
false,
'2023-08-06 14:24:10.875',
'Failed to reindex resource because unique search parameter unique-code could not be enforced.'
);
INSERT INTO BT2_WORK_CHUNK (
ID,
CREATE_TIME,
END_TIME,
ERROR_COUNT,
INSTANCE_ID,
DEFINITION_ID,
DEFINITION_VER,
RECORDS_PROCESSED,
SEQ,
START_TIME,
STAT,
TGT_STEP_ID,
ERROR_MSG,
CHUNK_DATA,
CHUNK_DATA_VC,
UPDATE_TIME,
WARNING_MSG
) VALUES (
'6bcd7278-eacb-4f97-b6ed-4086b36747e5',
'2023-07-06 15:20:20.797',
'2023-07-06 15:21:11.142',
0,
'2eb2c28c-fa20-48df-9652-00669dcaea2c',
'bulkImportJob',
1,
0,
0,
'2023-07-06 15:21:11.14',
'COMPLETED',
'ReadInResourcesFromFileStep',
'Error message',
72995,
'{"key":"value"}',
'2023-07-06 15:21:11.14',
'Failed to reindex resource because unique search parameter unique-code could not be enforced.'
);
INSERT INTO HFJ_BLK_IMPORT_JOBFILE (
PID,
JOB_PID,
JOB_CONTENTS,
JOB_CONTENTS_VC,
FILE_DESCRIPTION,
FILE_SEQ,
TENANT_NAME
) VALUES (
66,
61,
72995,
'content_1',
'Rows 0 - 10',
0,
''
);
INSERT INTO HFJ_SEARCH (
PID,
CREATED,
SEARCH_DELETED,
EXPIRY_OR_NULL,
FAILURE_CODE,
FAILURE_MESSAGE,
LAST_UPDATED_HIGH,
LAST_UPDATED_LOW,
NUM_BLOCKED,
NUM_FOUND,
PREFERRED_PAGE_SIZE,
RESOURCE_ID,
RESOURCE_TYPE,
SEARCH_PARAM_MAP,
SEARCH_PARAM_MAP_BIN,
SEARCH_QUERY_STRING,
SEARCH_QUERY_STRING_HASH,
SEARCH_QUERY_STRING_VC,
SEARCH_TYPE,
SEARCH_STATUS,
TOTAL_COUNT,
SEARCH_UUID,
OPTLOCK_VERSION
) VALUES (
53,
'2023-05-01 16:52:09.149',
FALSE,
'2024-04-05 15:16:26.43',
500,
'Failure Message',
'2024-04-05 15:17:26.43',
'2024-04-05 15:18:26.43',
0,
1,
10,
1906,
'Patient',
5146583,
'013d7d16d7ad4fefb61bd95b765c8ceb',
8479927,
1212873581,
'?_lastUpdated=le2021-05-31',
1,
'FINISHED',
1,
'2999ba50-f77c-11ee-89b4-0800200c9a66',
1
);

View File

@ -0,0 +1,57 @@
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
PARAMS_JSON_VC,
WORK_CHUNKS_PURGED,
REPORT,
REPORT_VC,
FAST_TRACKING,
UPDATE_TIME,
WARNING_MSG,
USER_NAME,
CLIENT_ID
) VALUES (
'79751e50-fbfc-479a-8e14-29bed1973d66',
0,
0,
0,
'2023-08-06 14:24:10.845',
'WriteBundleForImportStep',
'bulkImportJob',
1,
'2023-08-06 14:25:11.098',
0,
'0ms',
'{"jobId":"ec0df47d-8741-41cb-ab77-ca7c00c4799d","batchSize":100}',
1,
'2023-08-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
'{"jobId":"7be85199-0136-406e-93b8-cbe44f15aa6c","batchSize":100}',
1,
72995,
'report',
0,
'2023-08-06 14:24:10.875',
'Failed to reindex resource because unique search parameter unique-code could not be enforced.',
'triggeringUser',
'clientId'
);

View File

@ -0,0 +1,57 @@
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
PARAMS_JSON_VC,
WORK_CHUNKS_PURGED,
REPORT,
REPORT_VC,
FAST_TRACKING,
UPDATE_TIME,
WARNING_MSG,
USER_NAME,
CLIENT_ID
) VALUES (
'79751e50-fbfc-479a-8e14-29bed1973d66',
0,
0,
0,
'2023-08-06 14:24:10.845',
'WriteBundleForImportStep',
'bulkImportJob',
1,
'2023-08-06 14:25:11.098',
0,
'0ms',
'{"jobId":"ec0df47d-8741-41cb-ab77-ca7c00c4799d","batchSize":100}',
1,
'2023-08-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
'{"jobId":"7be85199-0136-406e-93b8-cbe44f15aa6c","batchSize":100}',
1,
72995,
'report',
'false',
'2023-08-06 14:24:10.875',
'Failed to reindex resource because unique search parameter unique-code could not be enforced.',
'triggeringUser',
'clientId'
);

View File

@ -0,0 +1,57 @@
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
PARAMS_JSON_VC,
WORK_CHUNKS_PURGED,
REPORT,
REPORT_VC,
FAST_TRACKING,
UPDATE_TIME,
WARNING_MSG,
USER_NAME,
CLIENT_ID
) VALUES (
'79751e50-fbfc-479a-8e14-29bed1973d66',
0,
0,
0,
SYSDATE,
'WriteBundleForImportStep',
'bulkImportJob',
1,
SYSDATE,
0,
'0ms',
'{"jobId":"37698660-4a0f-4c9c-84d5-b6f231def870","batchSize":100}',
1,
SYSDATE,
'COMPLETED',
200,
'Error message',
HEXTORAW('8B9D5255'),
'{"jobId":"7be85199-0136-406e-93b8-cbe44f15aa6c","batchSize":100}',
1,
HEXTORAW('453d7a34'),
'report',
0,
SYSDATE,
'Failed to reindex resource because unique search parameter unique-code could not be enforced.',
'triggeringUser',
'clientId'
);

View File

@ -0,0 +1,57 @@
INSERT INTO BT2_JOB_INSTANCE (
ID,
JOB_CANCELLED,
CMB_RECS_PROCESSED,
CMB_RECS_PER_SEC,
CREATE_TIME,
CUR_GATED_STEP_ID,
DEFINITION_ID,
DEFINITION_VER,
END_TIME,
ERROR_COUNT,
EST_REMAINING,
PARAMS_JSON,
PROGRESS_PCT,
START_TIME,
STAT,
TOT_ELAPSED_MILLIS,
ERROR_MSG,
PARAMS_JSON_LOB,
PARAMS_JSON_VC,
WORK_CHUNKS_PURGED,
REPORT,
REPORT_VC,
FAST_TRACKING,
UPDATE_TIME,
WARNING_MSG,
USER_NAME,
CLIENT_ID
) VALUES (
'79751e50-fbfc-479a-8e14-29bed1973d66',
false,
0,
0,
'2023-08-06 14:24:10.845',
'WriteBundleForImportStep',
'bulkImportJob',
1,
'2023-08-06 14:25:11.098',
0,
'0ms',
'{"jobId":"ec0df47d-8741-41cb-ab77-ca7c00c4799d","batchSize":100}',
1,
'2023-08-06 14:24:10.875',
'COMPLETED',
200,
'Error message',
83006,
'{"jobId":"7be85199-0136-406e-93b8-cbe44f15aa6c","batchSize":100}',
true,
72995,
'report',
false,
'2023-08-06 14:24:10.875',
'Failed to reindex resource because unique search parameter unique-code could not be enforced.',
'triggeringUser',
'clientId'
);

View File

@ -82,8 +82,14 @@ public class HapiSchemaMigrationTest {
VersionEnum.V5_3_0,
VersionEnum.V5_4_0,
VersionEnum.V5_5_0,
VersionEnum.V5_7_0,
VersionEnum.V6_0_0,
VersionEnum.V6_1_0,
VersionEnum.V6_2_0,
VersionEnum.V6_3_0,
VersionEnum.V6_6_0,
VersionEnum.V6_8_0,
VersionEnum.V7_0_0,
VersionEnum.V7_2_0
);