-
Type:
Technical Correction
-
Resolution: Persuasive
-
Priority:
Highest
-
FHIR Core (FHIR)
-
R5
-
FHIR Infrastructure
-
DomainResource
-
(NA)
-
Correction
The ShEx generation that is included in the resource definitions are incorrect. As an example, the definition for "integer" in patient.shex is:
Primitive Type integer
<integer> CLOSED {
fhir:Element.id @<string>?; # xml:id (or equivalent in JSON)
{{ fhir:Element.extension @<Extension>*; # Additional content defined by }}
{{ # implementations }}
fhir:value @<integer>?; # Primitive value for integer
fhir:index xsd:integer? # Relative position in a list
}
The fhir:value element should actually be:
fhir:value xsd:integer.
This applies to all generated shex and all datatypes