mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-03 01:49:10 +00:00
fix for NPE generating ConceptMap spreadsheet
This commit is contained in:
parent
794754a8b0
commit
2df1283a54
@ -32,9 +32,12 @@ public class ConceptMapSpreadsheetGenerator extends CanonicalSpreadsheetGenerato
|
||||
}
|
||||
|
||||
private void addConceptMapMetadata(Sheet sheet, ConceptMap cm) {
|
||||
addMetadataRow(sheet, "Source", cm.getSource().primitiveValue());
|
||||
addMetadataRow(sheet, "Target", cm.getTarget().primitiveValue());
|
||||
|
||||
if (cm.hasSource()) {
|
||||
addMetadataRow(sheet, "Source", cm.getSource().primitiveValue());
|
||||
}
|
||||
if (cm.hasTarget()) {
|
||||
addMetadataRow(sheet, "Target", cm.getTarget().primitiveValue());
|
||||
}
|
||||
}
|
||||
|
||||
private void renderGroup(ConceptMapGroupComponent grp, int i) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user