-
Type:
Change Request
-
Resolution: Persuasive
-
Priority:
High
-
FHIR Core (FHIR)
-
STU3
-
Modeling & Methodology
-
Datatypes
-
2.23.0.1
-
-
Grahame Grieve/Ron Shapiro: 2-0-0
-
Non-substantive
-
STU3
Existing Wording: string: ... String should not contain Unicode character points below 32, except for u0009 (horizontal tab), u0010 (carriage return) and u0013 (line feed) ? Regex: \s*(\S|\s)*
...
markdown: A string that may contain markdown syntax for optional processing by a markdown presentation engine, in the GFM extension of CommonMark format (see below) xs:string JSON string
Regex: \s*(\S|\s)* (can't put size limit in the regex - too large)
...
...Primitive types other than string SHALL NOT have leading or trailing whitespace...
Comment:
Regex definitions I've found include vertical tab in \s, so regex does not match definition. Further, since \s* matches zero characters, the leading term doesn't provide any restriction. And since most definitions of \S are "match what \s doesn't", the term "(\S|\s)*" means match anything. So, the regex imposes no restrictions and is useless.
Clarify regex on string and markdown.
Clarify if the string 1MB limit is character count, codepoints, or bytes.
Clarify if markdown a specialization of the FHIR string type or independent, and thus if the string character set and length restrictions apply.
Link to CommonMark discussion.
Clarify if leading/trailing whitespace is allowed for markdown.
Summary:
Clarify string and markdown datatype definitions
- is voted on by
-
BALLOT-4890 Affirmative - Elliot Silver : 2018-May-FHIR R4 INFRASRUCTURE R1
- Closed