• Inner Harbour Software

    Inner Harbour Software consists of a dedicated team of .Net programmers whose mission is to create exceptional and affordable HL7 products. Please email us at support@HL7Spy.com to contact us with questions regarding our products or services.

Archive for January, 2018

HL7Spy 3.1.2003 Released

  • Bug Fix – Fix issue with pasting/editing hl7 messages not clearing the error indicator
  • Bug Fix – Defect Connexion.Core.HL7 – Setting a repeated field with another repeated field that contains \R\ is not handled correctly. Reported by Len F., eHealth Queensland
  • Bug Fix – Line numbers not showing properly while editing the hl7 message
  • Bug Fix – Fix object disposed exception when closing a tab while a query is executing
  • Improvement – Add ok button to close HL7TargetSelection popup

HL7Spy v3.1.1974 Released

  • Improvement – Improve HL7Spy startup time by lazy loading the content of most ToolView tools
  • Improvement – Add Save Redacted Messages functionality. Requested by Cleveland Clinic

RedactMessages

  • Improvement – Show differences between the current and transformed message in Transform Test tool

TransformDifferences

  • Improvement – Use LaunchExisting option when file is placed on command line without the -lf option. This enables HL7Spy to be set as the default target for any file extension using the Windows “Open With” right-click option

  • Bug Fix – Fix Export so the progress is shown
  • Bug Fix – Fix look and feel of MessageCollectionView when it is popped out of the main window
  • Bug Fix – Fix progress bar in HL7 SQL
  • Bug Fix – Fix NullReferenceException in BindableQueryResults in HL7 SQL and SQL Loader
  • Bug Fix – Fix issue with registering the licensee/licensekey via the installer
  • Bug Fix – Fix NRE in HL7Subcomponent.EscapedValue
  • Bug Fix – Code sign HL7Spy.exe
  • Bug Fix – Fix issue where the name of a Custom Code snippet cannot be renamed.
  • Bug Fix – Fix issue where the watch list is not updated when no messages are loaded
  • Bug Fix – Fix potential NullReferenceException in Watch List
  • Bug Fix – Fix issue with the updating of the description when editing the watch list
  • Bug Fix – Stop button not working in HL7 SQL tool

How can I remove RXA-12, not just delete the value, but remove it?

Question: How can I remove RXA-12, not just delete the value, but remove it so that RXA-13 becomes the new RXA-12?

To do this you can use the simple function below. They way it works is to go through all RXA segments and calls the RemoveAt(12) on the segment fields. This will remove the field causing all fields after RXA-12 to be offset by one.

public override void Run()
{
   HL7Message message = GetParsedMessage();
   foreach(HL7Segment segment in message.GetSegments("RXA"))
   {
     segment.Fields.RemoveAt(12);
   }
    
   this.SaveMessage(message,"RXA-12 Removed");
}