Stream: conformance
Topic: Element 'id' is out of order
Jose Costa Teixeira (Nov 02 2017 at 19:11):
Why do I get a
"As specified by profile http://hl7.org/fhir/StructureDefinition/StructureDefinition, Element 'id' is out of order"
int he IG build?
(let me know if this question belongs in another stream.)
Grahame Grieve (Nov 02 2017 at 19:18):
that's an error for sure - where do you get that?
Jose Costa Teixeira (Nov 02 2017 at 19:42):
experimenting with the publisher.
my StructureDefinition is this
<StructureDefinition xmlns="http://hl7.org/fhir">
<meta>
<lastUpdated value="2017-08-22T17:01:04.302+02:00" />
</meta>
<url value="http://zeora.net/StructureDefinition/AdministrationReport" />
<name value="AdministrationReport" />
<status value="draft" />
<date value="2017-08-22T16:50:12.245+02:00" />
<fhirVersion value="3.0.1" />
<kind value="resource" />
<abstract value="false" />
<type value="MedicationAdministration" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration" />
<derivation value="constraint" />
<differential>
<element id="MedicationAdministration.performer">
<path value="MedicationAdministration.performer" />
<min value="1" />
</element>
<element id="MedicationAdministration.dosage.dose">
<path value="MedicationAdministration.dosage.dose" />
<min value="1" />
</element>
</differential>
</StructureDefinition>
Grahame Grieve (Nov 02 2017 at 19:50):
which publisher?
Jose Costa Teixeira (Nov 02 2017 at 19:52):
not sure what to answer. I am using the ig publisher. Based on the template Lloyd advised, taken from an existing guide (sdc2)
Grahame Grieve (Nov 02 2017 at 19:52):
ig publisher is a correct answer to my question.
Grahame Grieve (Nov 02 2017 at 19:53):
I'll have to debug it
Jose Costa Teixeira (Nov 02 2017 at 19:54):
can i help in debugging? (zero java skills here)
Grahame Grieve (Nov 02 2017 at 19:56):
don't know. the code for validation is some of the most obscure code we have
Last updated: Apr 12 2022 at 19:14 UTC