FHIR Chat · Warning on element names · IG creation

Stream: IG creation

Topic: Warning on element names


view this post on Zulip Giorgio Cangioli (Jun 01 2019 at 08:05):

In an IG including only Logical Models I have this kind of warning for all the elements excluding the root one.
(I've no such a kind of warning for the other IGs/profiles)

StructureDefinition/AllergyIntolerance: StructureDefinition.differential.element[2] - warning - Element names should be simple alphanumerics with a max of 64 characters, or code generation tools may be broken [path.matches('[A-Za-z][A-Za-z0-9](\\.[a-z][A-Za-z0-9](\\[x])?)*')]

I supposed it was referring to the element id but I'm not able to see what i did wrong ... (e.g. no warnings or errors are returned by forge)

This is an example of element..
<element id="AllergyorIntolerance.Description">
<path value="AllergyorIntolerance.Description"/>
<short value="Allergy or Intolerance description"/>

Any help is appreciated

view this post on Zulip Grahame Grieve (Jun 01 2019 at 08:50):

that shouldn't be a problem. is this in IPS?

view this post on Zulip Giorgio Cangioli (Jun 01 2019 at 08:57):

for the time being it is in the https://github.com/HL7/fhir-ips/tree/fhir-logical-models branch

view this post on Zulip Grahame Grieve (Jun 04 2019 at 07:21):

the expression is double escaped

view this post on Zulip Giorgio Cangioli (Jun 11 2019 at 09:35):

I continue to see the same warning message ...but maybe i misunderstood your answer :-)


Last updated: Apr 12 2022 at 19:14 UTC