HL7 Compliance Check

About this task

To run HL7 Compliance check, perform the following steps:

Procedure

  1. Edit file compilemaps.bat under hl7/maps. Replace .mmc in the %MCOMPILE% lines with .lnx -P LINUX. Make sure the variable "%DTX_HOME% is pointing to the TransformationExtender_11.0.1 directory.
  2. Run the compilemaps.bat. Verify .lnx files were created in the hl7/maps directory.
  3. Using Design Studio, open maps ncpdp_script_to_hl7.mms and hl7_to_ncpdp_script.mms in the \hl7\examples\hl7_ncpdp_script subdirectory and build all for Linux platform.
  4. Under the container /tmp/itx-rs/data/maps directory, create directory structure, and copy compiled maps, schemas and data files to /hl7/maps, /hl7/hl7schemas and /hl7/data subdirectories (with UNIX based line endings).
  5. To execute HL7 Compliance, the hl7main map through command line:
    curl -X PUT -d "" "http://localhost:8080/tx-rest/v1/itx/maps/direct/hl7.maps.hl7main"
    1. To override input card 1:
      curl -X PUT -d "" "http://localhost:8080/tx-rest/v1/itx/maps/direct/hl7.maps.hl7main? input=1;FILE;../data/sample_hl7_edi_v2_7_adt_a01.dat"