Command Line

Command Line

Caristix Cloak allows you to de-identify HL7 messages using a command line. This allows you to automate operations, such as data conversion, de-identification, test execution, etc. To automate operations, you will be able to use the CloakConsole executable located in the software’s installation folder (typically C:\Program Files (x86)\Caristix\Caristix Cloak).

You can open a command prompt and type the following command to get a list of available commands
CloakConsole.exe help

To get help on a particular command, type
CloakConsole.exe help <command-name>

De-Identify-XML

This command will de-identify HL7v2-XML messages.

To get help with this command, type: CloakConsole.exe help De-Identify-XML

C:\Program Files (x86)\Caristix\Caristix Cloak>CloakConsole.exe help De-Identify-XML

** De-Identify-Xml **

e.g. De-Identify-Xml C:\first-document.xml D:\second-document.xml -de <or> -DeIdentificationR
ules "C:\My DeIdentification rules.cxdx" [-cp <or> -ConformanceProfile "C:\HL7Reference\CCD (
Continuity of Care).cxpx"] [-pi <or> -PersistentIdentities "D:\persistence-xml.dic"] [-r <or>
 -Results "D:\results\"] [-lp <or> -LogsFilePath "C:\logs.txt"]

Source files : The documents to De-Identify (can also be folders).
-de required : DeIdentification rules file path.
-cp [optional] : Conformance Profile file path.
-pi [optional] : Persisted identities file path (if the file already exists, the context will
 be loaded from it).
-r [optional] : Result folder path. The value has to be a folder [default: .\Results].
-lp [optional] : Logs file path.

Support and Documentation