Stream: committers
Topic: Another big change
Grahame Grieve (Oct 19 2016 at 23:41):
all committers: I am committing another big change: I have updated the build to use ElementDefinition.type.targetProfile instead of ElementDefinition.type.profile
This was a change that we added to the STU3 ballot, but I did not have time to operationalise it. I've done that now. If you use Forge to edit your profiles, or you use spreadsheets, then this change does not affect you.
But if you edit profiles directly in XML/JSON, or you have some other method of producing them, then you must now pay attention to the targetProfile element and populate the proper element.
I have updated all the apparently hand maintained or generated structure definitions - though now it occurs to me that I've broken all the Forge maintained ones :-(. Trouble is... I don't know which ones those are....
@Sean McIlvenna this is at least for you. Possibly also @Keith Boone and @Alexander Henket
Grahame Grieve (Oct 19 2016 at 23:42):
you'll be pleased to hear - though possible sceptical - that I'm running out of stuff like this...
Alexander Henket (Oct 20 2016 at 16:54):
I updated the build after ditching implementations/tools as I usually do for big changes. It completes succesfully but has some flaws while running:
[java] ...resource Composition 0.148 114sec 1572MB [java] ...resource ConceptMap 0.498 115sec 1665MB [java] java.lang.ClassCastException: org.hl7.fhir.dstu3.model.CodeSystem cannot be cast to org.hl7.fhir.dstu3.model.ValueSet [java] at org.hl7.fhir.dstu3.utils.NarrativeGenerator.AddVsRef(NarrativeGenerator.java:3138) [java] at org.hl7.fhir.dstu3.utils.NarrativeGenerator.generate(NarrativeGenerator.java:1954) [java] at org.hl7.fhir.dstu3.utils.NarrativeGenerator.generate(NarrativeGenerator.java:181) [java] at org.hl7.fhir.tools.publisher.Publisher.processExample(Publisher.java:3895) [java] at org.hl7.fhir.tools.publisher.Publisher.produceResource2(Publisher.java:3592) [java] at org.hl7.fhir.tools.publisher.Publisher.produceSpec(Publisher.java:2130) [java] at org.hl7.fhir.tools.publisher.Publisher.produceSpecification(Publisher.java:1959) [java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:579) [java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:428)
Also I'm sure the empty source/medication/test.xml is not helping
[java] [Fatal Error] :1:1: Content is not allowed in prolog.
All these are still here:
[java] Error in StructureDefinition CodeSystem: Unknown specialised base type CodeSystem [java] Error in StructureDefinition ValueSet: Unknown specialised base type ValueSet
These are also old:
[java] Check HTML Links 7.248 246sec 1209MB [java] Case Error: found extension-hla-genotyping-resultshaploid-definitions.html looking for extension-hla-genotyping-resultsHaploid-definitions.html in genomics.html [java] Case Error: found extension-hla-genotyping-resultshaploid-definitions.html looking for extension-hla-genotyping-resultsHaploid-definitions.html in genomics.html [java] Case Error: found extension-hla-genotyping-resultshaploid-definitions.html looking for extension-hla-genotyping-resultsHaploid-definitions.html in genomics.html [java] Case Error: found extension-hla-genotyping-resultshaploid-definitions.html looking for extension-hla-genotyping-resultsHaploid-definitions.html in genomics.html [java] Case Error: found extension-hla-genotyping-resultshaploid-definitions.html looking for extension-hla-genotyping-resultsHaploid-definitions.html in genomics.html [java] Case Error: found extension-hla-genotyping-resultshaploid-definitions.html looking for extension-hla-genotyping-resultsHaploid-definitions.html in genomics.html [java] Case Error: found extension-hla-genotyping-resultshaploid-definitions.html looking for extension-hla-genotyping-resultsHaploid-definitions.html in genomics.html [java] Case Error: found extension-hla-genotyping-resultshaploid-definitions.html looking for extension-hla-genotyping-resultsHaploid-definitions.html in genomics.html [java] Case Error: found extension-hla-genotyping-resultsglstring-definitions.html looking for extension-hla-genotyping-resultsGlstring-definitions.html in genomics.html [java] Case Error: found extension-hla-genotyping-resultsglstring-definitions.html looking for extension-hla-genotyping-resultsGlstring-definitions.html in genomics.html [java] Case Error: found extension-hla-genotyping-resultsglstring-definitions.html looking for extension-hla-genotyping-resultsGlstring-definitions.html in genomics.html [java] Case Error: found extension-hla-genotyping-resultsalleledatabase-definitions.html looking for extension-hla-genotyping-resultsAlleleDatabase-definitions.html in genomics.html [java] Case Error: found extension-hla-genotyping-resultsmethod-definitions.html looking for extension-hla-genotyping-resultsMethod-definitions.html in genomics.html
Alexander Henket (Oct 20 2016 at 16:54):
I did not yet check what happens when I activate the ig generation for hl7nl... will try next
Alexander Henket (Oct 20 2016 at 17:27):
I've removed the hl7nl guide as we continue this work on the Simplifier platform. We do not plan to go to STU3 until somewhere next year, and it makes more sense to not have to finish work in DSTU2 while keeping STU3 in sync at the same time.
Alexander Henket (Oct 20 2016 at 17:27):
Hence: problem solved for now :-)
Eric Haas (Oct 20 2016 at 23:00):
currently working on DSTU2 profiles using IG publisher... I would like to know if this change affects DSTU2 profile ( guessing no) and if my publishing issue detailed below is related to using profileTarget
I have...
... <type> <code value="Reference"/> <profile value="http://hl7.org/fhir/us/argonaut/StructureDefinition/argo-medication"/> </type> <must ...
the base for this sd is a default base so not defined explicitly in ig.json. When published: the type Reference(http://hl7.org/fhir/us/argonaut/StructureDefinition/argo-medication)
references .../StructureDefinition/argo-medication.html ( 404 error) instead of ..../StructureDefinition-argo-medication. html.
How do I fix this?
Grahame Grieve (Oct 20 2016 at 23:14):
not related
Grahame Grieve (Oct 20 2016 at 23:14):
is that structure definition part of the IG?
Eric Haas (Oct 20 2016 at 23:15):
yes a SD for medicationorder. the element references medication.
Grahame Grieve (Oct 21 2016 at 00:32):
then I'm not sure. Clear your cache folder and run the generation again - that should fix the /html/ issue
Eric Haas (Oct 21 2016 at 06:10):
yes fixed that issue
but the above issue still there.
Grahame Grieve (Oct 21 2016 at 09:03):
which is the above issue?
Last updated: Apr 12 2022 at 19:14 UTC