We're updating the issue view to help you get more done. 

internet_id and uid_based_id confusion in syntax definition?

Description

See https://specifications.openehr.org/releases/BASE/latest/base_types.html#_syntaxes

This states the following:
(* --------------------------- INTERNET_ID --------------------------- *)
internet_id = root [ '::' extension ] ;
root = uid ;
extension = ? any string ? ; (* any string *)

However, in Section 4.4.4, it is - sensibly - defined as reverse order of a domain name, specified by IETF RFC 1034. ( https://specifications.openehr.org/releases/BASE/latest/base_types.html#_internet_id_class )

It seems to me that the internet_id in the syntax section (4.5) really is meant to be the UID_BASED_ID as specified in 4.4.6?

Then, "domain" in the syntax section is probably identical to the real internet_id?
Except if that is the case, I wonder where https://openehr.atlassian.net/browse/SPECRM-31 (Allow underscore in Internet id) is actually implemented in the spec?

Also, https://tools.ietf.org/html/rfc1123 relaxes the first character to be a letter or a digit (previously only a letter was allowed). This should likely be reflected in the EBNF as well.

Environment

None

Change Description

None

Impact Analysis

None

Status

Assignee

Unassigned

Reporter

Sebastian Garde

Components

Affects versions

BASE Release 1.0.3

Priority

Minor