Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions onprc_ehr/resources/etls/eIACUCtoPrime.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<etl xmlns="http://labkey.org/etl/xml">
<name>eiACUCtoPrime</name>
<description>Transfers from the eIACUC Import tables to the Prime tables in ONPRC_EHR</description>
<transforms>
<transform id="step1a">
<description>Transfer to eIACUC Animal Groups</description>
<source queryName="PRIME_VIEW_ANIMAL_GROUPS" schemaName="eIACUC"/>
<destination queryName="eIACUC_PRIME_VIEW_ANIMAL_GROUPS" schemaName="ONPRC_EHR" targetOption="truncate"/>
</transform>
<transform id="step2a">
<description>Transfer to IBX Numbers</description>
<source queryName="PRIME_VIEW_IBC_NUMBERS" schemaName="eIACUC"/>
<destination queryName="eIACUC_PRIME_VIEW_IBC_NUMBERS" schemaName="ONPRC_EHR" targetOption="truncate"/>
</transform>
<transform id="step3a">
<description>Transfer to Non Surgical Procedures</description>
<source queryName="PRIME_VIEW_NON_SURGICAL_PROCS" schemaName="eIACUC"/>
<destination queryName="eIACUC_PRIME_VIEW_NON_SURGICAL_PROCS" schemaName="ONPRC_EHR" targetOption="truncate"/>
</transform>
<transform id="step4a">
<description>Transfer to Protocols</description>
<source queryName="PRIME_VIEW_PROTOCOLS" schemaName="eIACUC"/>
<destination queryName="eIACUC_PRIME_VIEW_PROTOCOLS" schemaName="ONPRC_EHR" targetOption="truncate"/>
</transform>
<transform id="step5a">
<description>Transfer to Surgical Procedures</description>
<source queryName="PRIME_VIEW_SURGERIES" schemaName="eIACUC"/>
<destination queryName="eIACUC_PRIME_VIEW_SURGICAL_PROCS" schemaName="ONPRC_EHR" targetOption="truncate"/>
</transform>

</transforms>
<schedule>

<!--3AM-->
<cron expression="0 50 04 * * ?"/>

</schedule>
</etl>