Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To mark any field as PHI inqueryin the query, one needs to update the default query forms in the OpenSpecimen. All these are available in tomcat at ${TOMCAT_HOME}/webapps/openspecimen/WEB-INF/classes/query-forms/

...

Code Block
titleBefore PHI
<row>
  <datePicker>
    <name>collectionDate</name>
    <udn>collectionDate</udn>
    <caption>#getMessage("visit_date")</caption>
    <column>COLLECTION_TIMESTAMP</column>
  </datePicker>
</row>

Add '<phi>true</phi>' in thecollectionDate rowinthecollectionDate row. After updating, it will look like below:

...