Stream: conformance
Topic: New Derived Profile
Mounika (Jul 13 2017 at 12:12):
Hi @Michel Rutten When I am trying to import a derived profile it's showing error as in the screen shot error.PNG Untitled.png
Michel Rutten (Jul 13 2017 at 12:15):
Hi @Mounika K, can you share the profile XML?
Mounika (Jul 13 2017 at 12:17):
StructureDefinition-CCDA-on-FHIR-History-and-Physical.xml
Michel Rutten (Jul 13 2017 at 12:28):
Hi @Mounika K, the "comments" elements should be called "comment" (singular, without trailing "s").
https://www.hl7.org/fhir/elementdefinition-definitions.html#ElementDefinition.comment
Michel Rutten (Jul 13 2017 at 12:34):
Also the slicing discriminator on "Composition.section" has invalid (DSTU2 style) format.
Michel Rutten (Jul 13 2017 at 12:35):
Seems like the profile was manually converted from DSTU2 to STU3, with some conversion errors.
Mounika (Jul 13 2017 at 12:41):
Okay. How can I fix the errors?
Michel Rutten (Jul 13 2017 at 12:48):
You cannot fix invalid XML from within Forge itself, as you cannot open the file. Instead, you have to correct the XML manually using a XML/text editor, assisted by schema validation against fhir-all.xsd.
Mounika (Jul 13 2017 at 12:51):
Okay @Michel Rutten Thank you
Mounika (Jul 14 2017 at 05:25):
Hi @Michel Rutten Could you please help me how to do the xml editing?
Last updated: Apr 12 2022 at 19:14 UTC