Stream: committers
Topic: unregistered examples in build
Eric Haas (Jul 26 2016 at 18:30):
I recall having to use "exampe.org" for unregistered extension for the examples in build. Does that still work?
Grahame Grieve (Jul 26 2016 at 20:24):
yes. though it's example.org
Eric Haas (Jul 27 2016 at 03:09):
tried but failed to put in an unregistered extension in an example. This Careplan example is an example of what I tried to do:
<detail>
<extension url="http://example.org/DoNotUse/General/RevisionDate">
<valueDate value="2012-08-23"/>
</extension>
<category>
...
Am I missing something?
Grahame Grieve (Jul 27 2016 at 03:28):
what error did you get?
Eric Haas (Jul 27 2016 at 03:30):
[java] unknown extension http://example.org/DoNotUse/StructureDefinition/RevisionDate
Eric Haas (Jul 27 2016 at 03:30):
obviously I was going to change the name if it worked
Eric Haas (Jul 27 2016 at 03:31):
here is the entire error dump:
[java] Exception in thread "main" java.lang.Error: todo
[java] at org.hl7.fhir.dstu3.utils.NarrativeGenerator$PropertyWrapperElement.getTypeCode(NarrativeGenerator.java:319)
[java] at org.hl7.fhir.dstu3.utils.NarrativeGenerator.splitExtensions(NarrativeGenerator.java:942)
[java] at org.hl7.fhir.dstu3.utils.NarrativeGenerator.generateByProfile(NarrativeGenerator.java:846)
[java] at org.hl7.fhir.dstu3.utils.NarrativeGenerator.generateByProfile(NarrativeGenerator.java:834)
[java] at org.hl7.fhir.dstu3.utils.NarrativeGenerator.generateByProfile(NarrativeGenerator.java:820)
[java] at org.hl7.fhir.dstu3.utils.NarrativeGenerator.generate(NarrativeGenerator.java:783)
[java] at org.hl7.fhir.tools.publisher.Publisher.processExample(Publisher.java:3761)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceResource2(Publisher.java:3431)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpec(Publisher.java:2113)
[java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:1971)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:625)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:474)
[java] unknown extension http://example.org/DoNotUse/StructureDefinition/RevisionDate
Grahame Grieve (Jul 27 2016 at 03:39):
commit it, and I'll fix it
Eric Haas (Jul 27 2016 at 05:09):
9288
Last updated: Apr 12 2022 at 19:14 UTC