Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed minor issues with data requirements #219

Merged
merged 1 commit into from
Apr 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private void loadLibrary(Map<String, String> fileMap, List<org.hl7.fhir.r5.model
org.hl7.fhir.r5.model.Library library = (org.hl7.fhir.r5.model.Library) VersionConvertor_40_50.convertResource(resource);
fileMap.put(library.getId(), libraryFile.getAbsolutePath());
libraries.add(library);
} catch (IOException ex) {
} catch (Exception ex) {
logMessage(String.format("Error reading library: %s. Error: %s", libraryFile.getAbsolutePath(), ex.getMessage()));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ private void loadMeasure(Map<String, String> fileMap, List<org.hl7.fhir.r5.model
org.hl7.fhir.r5.model.Measure measure = (org.hl7.fhir.r5.model.Measure) VersionConvertor_40_50.convertResource(resource);
fileMap.put(measure.getId(), measureFile.getAbsolutePath());
measures.add(measure);
} catch (IOException ex) {
logMessage(String.format("Error reading library: %s. Error: %s", measureFile.getAbsolutePath(), ex.getMessage()));
} catch (Exception ex) {
logMessage(String.format("Error reading measure: %s. Error: %s", measureFile.getAbsolutePath(), ex.getMessage()));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private Extension toLogicDefinition(ElmRequirement req, ExpressionDef def, Strin
e.addExtension(new Extension().setUrl("libraryName").setValue(toString(req.getLibraryIdentifier().getId())));
e.addExtension(new Extension().setUrl("name").setValue(toString(def.getName())));
e.addExtension(new Extension().setUrl("statement").setValue(toString(text)));
e.addExtension(new Extension().setUrl("sequence").setValue(toInteger(sequence)));
e.addExtension(new Extension().setUrl("displaySequence").setValue(toInteger(sequence)));
return e;
}

Expand Down