Stream: committers
Topic: Profile parsing error
Hugh Glover (Mar 31 2020 at 12:18):
I've created a new profile of AdverseEvent and the build now fails quoting the profile spreadsheet and saying "Error parsing sheet ... unknown resource ??" At the moment this isn't an approved resource or anything - I'm just trying it out locally. Do I have to add it to the build process somewhere as an "approved" name? Or is this a different something else entirely?
Lloyd McKenzie (Mar 31 2020 at 14:45):
What's the full stack-trace?
Hugh Glover (Mar 31 2020 at 15:24):
I'm sure I should know but ... where do I get that from?
Lloyd McKenzie (Mar 31 2020 at 15:30):
The console of your build
Hugh Glover (Mar 31 2020 at 15:36):
Like this?:
Publisher:
[java] Publish FHIR in folder C:\Filing\FHIR\GitHub\fhir @ Tue, Mar 31, 2020 12:19+0100 0.016 0sec 21MB
[java] Build local copy 0.006 0sec 21MB
[java] Detected Java version: 1.8.0_241 from C:\Program Files\java\jdk1.8.0_241\jre on amd64 0.0 0sec 21MB
[java] Load Terminology Cache from C:\Filing\FHIR\GitHub\fhir\vscache 2.418 2sec 103MB
[java] .. loaded 3.551 5sec 1518MB
[java] Checking Source for C:\Filing\FHIR\GitHub\fhir 0.007 5sec 1518MB
[java] Partial Build (if you want a full build, just run the build again) 2.18 8sec 194MB
[java] Build: adverseevent 0.001 8sec 194MB
[java] Version 4.2.0-30e3ed096c
[java] Load Loinc 0.273 8sec 245MB
[java] Loading 0.372 8sec 346MB
[java] Load Common Bindings 0.007 8sec 346MB
[java] Missing IsModifierReason on FiveWs.status
[java] Load Resources 1.598 10sec 1252MB
[java] Missing IsModifierReason on AppointmentResponse.participantStatus
[java] normalise: C:\Filing\FHIR\GitHub\fhir\source\adverseevent\adverseevent-spreadsheet.xml
[java] Missing IsModifierReason on SpecimenDefinition.status
[java] Missing IsModifierReason on SpecimenDefinition.experimental
[java] Missing IsModifierReason on ObservationDefinition.status
[java] Missing IsModifierReason on ObservationDefinition.experimental
[java] Load Extras 4.918 15sec 3276MB
[java] ValueSet http://hl7.org/fhir/ValueSet/abstract-types WG mismatch 8: is vocab, want to set to fhir
[java] ValueSet http://hl7.org/fhir/ValueSet/all-types WG mismatch 9: is vocab, want to set to fhir
[java] Load Code Systems 0.036 15sec 3338MB
[java] Load Value Sets 0.03 15sec 3338MB
[java] Load Profiles 0.013 15sec 3338MB
[java]
[java] Errors: 0 Warnings: 0 Hints: 0
[java]
[java] ===Resources with FMM forced to 0===
[java] 2.824 18sec 1664MB
[java] This was a Partial Build 0.0 18sec 1664MB
[java] Build: adverseevent 0.0 18sec 1664MB
[java] FHIR build failure @ Tue, Mar 31, 2020 12:19+0100 1.792 20sec 1664MB
[java] Error: exception parsing pack C:\Filing\FHIR\GitHub\fhir\source\adverseevent\adverseevent-clinicalresearch-profile-spreadsheet.xml: Error parsing sheet C:\Filing\FHIR\GitHub\fhir\source\adverseevent\adverseevent-clinicalresearch-profile-spreadsheet.xml - Unknown resource ??
[java] java.lang.Exception: exception parsing pack C:\Filing\FHIR\GitHub\fhir\source\adverseevent\adverseevent-clinicalresearch-profile-spreadsheet.xml: Error parsing sheet C:\Filing\FHIR\GitHub\fhir\source\adverseevent\adverseevent-clinicalresearch-profile-spreadsheet.xml - Unknown resource ??
[java] at org.hl7.fhir.definitions.parsers.SpreadsheetParser.parseConformancePackage(SpreadsheetParser.java:1483)
[java] at org.hl7.fhir.definitions.parsers.SourceParser.loadConformancePackage(SourceParser.java:962)
[java] at org.hl7.fhir.definitions.parsers.SourceParser.parse(SourceParser.java:313)
[java] at org.hl7.fhir.tools.publisher.Publisher.execute(Publisher.java:592)
[java] at org.hl7.fhir.tools.publisher.Publisher.main(Publisher.java:486)
[java] Caused by: java.lang.Exception: Error parsing sheet C:\Filing\FHIR\GitHub\fhir\source\adverseevent\adverseevent-clinicalresearch-profile-spreadsheet.xml - Unknown resource ??
[java] at org.hl7.fhir.igtools.spreadsheets.TypeParser.parse(TypeParser.java:149)
[java] at org.hl7.fhir.definitions.parsers.SpreadsheetParser.processLine(SpreadsheetParser.java:1830)
[java] at org.hl7.fhir.definitions.parsers.SpreadsheetParser.parseProfileSheet(SpreadsheetParser.java:1519)
[java] at org.hl7.fhir.definitions.parsers.SpreadsheetParser.parseConformancePackage(SpreadsheetParser.java:1461)
[java] ... 4 more
Lloyd McKenzie (Mar 31 2020 at 15:53):
You're trying to define a profile on AdverseEvent within the core spec?
Lloyd McKenzie (Mar 31 2020 at 15:54):
Can you attach your spreadsheet?
Hugh Glover (Mar 31 2020 at 16:00):
adverseevent-clinicalresearch-profile-spreadsheet.xml
Hugh Glover (Mar 31 2020 at 16:02):
At the moment the aim is to have a profile of adverse event for BR&R to discuss and help understanding. If it makes sense then we will talk about actually adding it to the core spec - for now its purely meant to be local to me.
Lloyd McKenzie (Mar 31 2020 at 16:55):
Key part of that is Unknown resource ??
Lloyd McKenzie (Mar 31 2020 at 16:56):
It's complaining about Reference(??)
on line 10
Hugh Glover (Mar 31 2020 at 16:59):
Doh!!! I'm an idiot - thanks for the help
Last updated: Apr 12 2022 at 19:14 UTC