From: Archie C. <ar...@de...> - 2004-12-22 15:42:34
|
Sanidas, Nicholas S. wrote: > I am currently rolling my own capability to de-identify ADT records. > Typically, for bio-surveillance applications, only a small subset of ADT > A04/A08 segment fields/components are required for analysis. > > What would be handy is for a capability to set a list of segment > field/component masks (sort of like one does for PreParser.getFields()) > that could be uses to create a pass thru filter of what fields should > make in thru during a message transformation process. If the mask syntax > could support a way to extract an entire field (including all of its > components/subcomponents) that would be nice as well. > > I am currently hacking thru a solution using PreParser and Terser with a > generic message. The pass thru fields/components are in a properties file. > > I am interested to see if anybody else might find this type of feature > valuable. With HIPAA and the sensitivity of medical records, it seems > like a quick and easy pass thru transformation might be a nice feature > to add to HAPI. XSLT might be a nice and clean way to do this. I.e., your application would convert HL7 to XML, then run that through a simple XSLT transformation that would elide the fields you didn't want, then convert the XML result back into HL7. Then your XSLT file becomes the "configuration" of the filter. -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com * Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. * |