Stream: hapi
Topic: HAPI FHIR error
Gary P Gryan (May 17 2019 at 23:50):
I'm getting an error loading StructureDefinitions into HAPI FHIR server 3.5. It says "issue.location" is not iterable. Any idea what the root cause might be?
Thanks,
Gary Gryan
fileName=/Users/ggryan/cmsInterop/definitions_20190517b_json/StructureDefinition-usdrugformulary-CoinsuranceOption-extension.json
Sending http://va-lighthouse.mitre.org:8080/baseR4/StructureDefinition/usdrugformulary-CoinsuranceOption-extension
(node:44475) UnhandledPromiseRejectionWarning: TypeError: issue.location is not iterable
at logError (/Users/ggryan/cmsInterop/del/src/uploadFromDir.js:82:36)
at main (/Users/ggryan/cmsInterop/del/src/uploadFromDir.js:141:9)
at process.internalTickCallback (internal/process/next_tick.js:77:7)
(node:44475) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:44475) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit cod
Grahame Grieve (May 17 2019 at 23:53):
version mismatch?
May Terry (May 17 2019 at 23:59):
@Grahame Grieve - possibly, but we based the profile with this extension from List http://hl7.org/fhir/R4/list.html. It is however part of a Complex extension 3 levels deep. List/extension/extension/extension. Would this make a difference?
Grahame Grieve (May 18 2019 at 00:00):
no. I wouldn't think so. issue.location is a problem parsing an OperationOutcome - why is that happening? Actually, that hasn't changed across versions
James Agnew (May 19 2019 at 14:27):
@Gary P Gryan That looks like a Javascript error. Are you sure this is a HAPI FHIR error? (HAPI being a Java library)
Last updated: Apr 12 2022 at 19:14 UTC