forked from bimberlabinternal/BimberLabKeyModules
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpmr-demographics.xml
More file actions
43 lines (42 loc) · 2.02 KB
/
pmr-demographics.xml
File metadata and controls
43 lines (42 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<etl xmlns="http://labkey.org/etl/xml" standalone="false">
<name>PRIMe_Demographics</name>
<description>PRIMe Demographics Data</description>
<transforms>
<transform id="dataset1" type="RemoteQueryTransformStep">
<source schemaName="study" queryName="demographics" remoteSource="EHR_ClinicalSource" timestampColumnName="modified">
<sourceColumns>
<column>Id</column>
<column>date</column>
<column>gender</column>
<column>species</column>
<column>geographic_origin</column>
<column>birth</column>
<column>death</column>
<column>status</column>
<column>calculated_status</column>
<column>QCState/Label</column>
<column>objectid</column>
<column>created</column>
<column>modified</column>
</sourceColumns>
</source>
<destination schemaName="study" queryName="demographics" targetOption="truncate" bulkLoad="true" batchSize="2500">
<columnTransforms>
<column source="QCState/Label" target="QCStateLabel"/>
</columnTransforms>
<alternateKeys>
<column name="Id"/>
</alternateKeys>
</destination>
</transform>
</transforms>
<!-- <incrementalFilter className="ModifiedSinceFilterStrategy" timestampColumnName="modified" >-->
<!-- <!– TODO: enable once PRIMe deploys 23.7 –>-->
<!-- <!–<deletedRowsSource remoteSource="EHR_ClinicalSource" schemaName="AuditSummary" queryName="DatasetUpdateAuditLog" deletedSourceKeyColumnName="primaryKey" targetKeyColumnName="objectid"/>–>-->
<!-- </incrementalFilter>-->
<schedule>
<!--11PM-->
<cron expression="0 0 23 * * ?"/>
</schedule>
</etl>