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 | ||
---|---|---|
| ||
<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:
...