Stream: IG creation
Topic: Reference error not seen before
Nathan Davis (Jan 22 2021 at 17:50):
@Lloyd McKenzie @Grahame Grieve could you please explain this error?
StructureDefinition/AverageBloodPressure: StructureDefinition.differential.element[13].type[0].targetProfile[0] error Profile http://hl7.org/fhir/us/vitals/StructureDefinition/BPDevice is for type Device, which is not a Resource (which is required because the Observation.device element has type Reference)
the targetProfile BPDevice is a profile of Device with type = Device and baseDefinition of Device. I wasn't getting this error in older versions of the publishing tool. I'm using the current version (57).
Lloyd McKenzie (Jan 22 2021 at 18:26):
Is the baseDefinition "Device" or "http://hl7.org/fhir/StructureDefinition/Device"?
Nathan Davis (Jan 22 2021 at 18:41):
the full URL
Lloyd McKenzie (Jan 22 2021 at 20:34):
That sounds like a bug. Is there an IG build that @Mark Iantorno could replicate the issue with?
Nathan Davis (Jan 22 2021 at 20:52):
Yes, it's found at https://github.com/HL7/cimi-vital-signs
Nathan Davis (Jan 22 2021 at 20:54):
Thank you Lloyd!
Mark Iantorno (Jan 22 2021 at 21:30):
Hey!
Mark Iantorno (Jan 22 2021 at 21:31):
for issues like this, can you please open an issue in the github repository and tag me on it
Mark Iantorno (Jan 22 2021 at 21:31):
include the details and any information you have
Mark Iantorno (Jan 22 2021 at 21:31):
zulip is a multi channel dumpster fire where messages go to die
Sarah Gaunt (Jan 22 2021 at 21:42):
Is this the correct place @Mark Iantorno : https://github.com/HL7/fhir-ig-publisher/issues ?
Mark Iantorno (Jan 22 2021 at 21:43):
Yup! If you put the issue there, then there is a record of it on the repo, and other users can see if an issue already exists before logging a new one. It also is helpful for Grahame and I, as it's easier to keep track of the backlog
Mark Iantorno (Jan 22 2021 at 21:43):
Thanks
Sarah Gaunt (Jan 22 2021 at 21:47):
Ok - just added: https://github.com/HL7/fhir-ig-publisher/issues/223 - not sure what you meant by "tagging" you - I did the @ mention - hope that's ok.
1.1.58 is crashing with:
Connect to Terminology Server at http://tx.fhir.org (00:14.0423)
Exception in thread "main" java.lang.NoClassDefFoundError: okhttp3/Request$Builder
at org.hl7.fhir.r5.utils.client.network.Client.issueGetResourceRequest(Client.java:89)
at org.hl7.fhir.r5.utils.client.FHIRToolingClient.getCapabilitiesStatementQuick(FHIRToolingClient.java:155)
at org.hl7.fhir.convertors.txClient.TerminologyClientR5.getCapabilitiesStatementQuick(TerminologyClientR5.java:99)
at org.hl7.fhir.r5.context.SimpleWorkerContext.connectToTSServer(SimpleWorkerContext.java:298)
at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:1873)
at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1458)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:726)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8417)
Nathan Davis (Jan 22 2021 at 23:54):
Thanks @Sarah Gaunt for logging that issue!
Sarah Gaunt (Jan 23 2021 at 00:05):
NP, btw in case you didn't notice - it's a different error that the one you started this thread with (I should have created a new thread - sorry)
Mark Iantorno (Jan 23 2021 at 00:48):
Thanks for creating the issue.
Nathan Davis (Jan 25 2021 at 16:40):
I created an issue for my error: https://github.com/HL7/fhir-ig-publisher/issues/224 @Mark Iantorno
Nathan Davis (Jul 12 2021 at 16:55):
@Grahame Grieve It's been a while since I've run the publisher on this IG. I'm now using version 1.1.76 and still seeing this error.
Mark Iantorno (Jul 12 2021 at 17:19):
This issue was reported fixed on Jan 25th? Can you please explain again what issue you are facing now?
Nathan Davis (Jul 12 2021 at 17:35):
Still seeing this:
ERROR: StructureDefinition.differential.element[14].type[0].targetProfile[0] Profile http://hl7.org/fhir/us/vitals/StructureDefinition/BPDevice is for type StructureDefinition[http://hl7.org/fhir/StructureDefinition/Device], which is not a Resource (which is required because the Observation.device element has type Reference)
Looks like the publisher can't find the referenced profile.
Mark Iantorno (Jul 12 2021 at 17:52):
Ah I see that Sarah's issue and your issue are separate
Mark Iantorno (Jul 12 2021 at 17:53):
Could you please log a github issue in the publisher project
Mark Iantorno (Jul 12 2021 at 17:53):
Include the stack trace and detailed steps on how to reproduce the issue pelase
Nathan Davis (Jul 12 2021 at 18:04):
I created an issue for my error back in January: https://github.com/HL7/fhir-ig-publisher/issues/224
Grahame commented (via the Github issue) in May that it was fixed.
Mark Iantorno (Jul 12 2021 at 19:07):
yeah, we'll investigate. can you put instructions on replication in the ticket please
Mark Iantorno (Jul 12 2021 at 19:07):
thank you
Nathan Davis (Dec 15 2021 at 19:41):
Has there been any movement on this error? I'm still getting it with the latest publisher.
Grahame Grieve (Dec 16 2021 at 23:20):
in fact, this is an error in your profile
Grahame Grieve (Dec 16 2021 at 23:20):
<kind value="complex-type"/>
Grahame Grieve (Dec 16 2021 at 23:21):
in http://hl7.org/fhir/us/vitals/StructureDefinition/BPDevice
Last updated: Apr 12 2022 at 19:14 UTC