Skip to content

Option to Allow Undefined Segments #12

@360disrupt

Description

@360disrupt

Undefined segments cause the application to stop currently.

e.g.

else {
      /**
       * TODO Remove this and add a default segment parser
       * This is mainly in place so we can see what default
       * segments we are missing
       */
      var e = new Error('Invalid segment type: '+s)
      e.code = 'EINVSEGTYPE'
      e.raw = data
      if process.env.IGNORE_HL7_MISSING_SEGMENTS == true  
        console.error e
      else
        throw e
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions