Skip to content

XDS Telecom uses non-spec compliant Long Datatype #498

@svenhaag

Description

@svenhaag

The following Telecom parts

  • countryCode
  • areaCityCode
  • localNumber
  • extension

are defined as Long which does not properly reflect the standard.

Depending on the HL7v2 version the correct data type is either NM (Numeric) or SNM (String Numeric).
Between HL7v2 2.3 and 2.6 the type is NM. Starting with 2.7 the type changed to SNM, see https://www.hl7.eu/HL7v2x/v27/hl7v27typXTN.htm for the parts 5-8:

  • Country Code
  • Area/City Code
  • Local Number
  • Extension

The HL7 data types not only allow digits but also a set of special characters like +, / and leading zeros!

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions