Updated based on review comments

This commit is contained in:
Frank Tao 2020-09-14 09:30:03 -04:00
parent 8551b33e8a
commit 0d929d4d19
2 changed files with 5 additions and 5 deletions

View File

@ -77,7 +77,7 @@ public class LoincPartRelatedCodeMappingHandler extends BaseLoincHandler impleme
String extCodeSystemCopyrightNotice = trim(theRecord.get("ExtCodeSystemCopyrightNotice")); String extCodeSystemCopyrightNotice = trim(theRecord.get("ExtCodeSystemCopyrightNotice"));
// ConceptMap version from properties files // ConceptMap version from properties files
String loincIeeeCmVersion = myUploadProperties.getProperty(LOINC_CONCEPTMAP_VERSION.getCode()); String loincPartMapVersion = myUploadProperties.getProperty(LOINC_CONCEPTMAP_VERSION.getCode());
Enumerations.ConceptMapEquivalence equivalence; Enumerations.ConceptMapEquivalence equivalence;
switch (trim(defaultString(mapType))) { switch (trim(defaultString(mapType))) {
@ -134,7 +134,7 @@ public class LoincPartRelatedCodeMappingHandler extends BaseLoincHandler impleme
new ConceptMapping() new ConceptMapping()
.setConceptMapId(loincPartMapId) .setConceptMapId(loincPartMapId)
.setConceptMapUri(loincPartMapUri) .setConceptMapUri(loincPartMapUri)
.setConceptMapVersion(loincIeeeCmVersion) .setConceptMapVersion(loincPartMapVersion)
.setConceptMapName(loincPartMapName) .setConceptMapName(loincPartMapName)
.setSourceCodeSystem(ITermLoaderSvc.LOINC_URI) .setSourceCodeSystem(ITermLoaderSvc.LOINC_URI)
.setSourceCode(partNumber) .setSourceCode(partNumber)

View File

@ -82,7 +82,7 @@ public class LoincRsnaPlaybookHandler extends BaseLoincHandler implements IRecor
String longName = trim(theRecord.get("LongName")); String longName = trim(theRecord.get("LongName"));
// ConceptMap version from properties files // ConceptMap version from properties files
String loincIeeeCmVersion = myUploadProperties.getProperty(LOINC_CONCEPTMAP_VERSION.getCode()); String loincRsnaCmVersion = myUploadProperties.getProperty(LOINC_CONCEPTMAP_VERSION.getCode());
// RSNA Codes VS // RSNA Codes VS
ValueSet vs; ValueSet vs;
@ -180,7 +180,7 @@ public class LoincRsnaPlaybookHandler extends BaseLoincHandler implements IRecor
new ConceptMapping() new ConceptMapping()
.setConceptMapId(LoincPartRelatedCodeMappingHandler.LOINC_PART_TO_RID_PART_MAP_ID) .setConceptMapId(LoincPartRelatedCodeMappingHandler.LOINC_PART_TO_RID_PART_MAP_ID)
.setConceptMapUri(LoincPartRelatedCodeMappingHandler.LOINC_PART_TO_RID_PART_MAP_URI) .setConceptMapUri(LoincPartRelatedCodeMappingHandler.LOINC_PART_TO_RID_PART_MAP_URI)
.setConceptMapVersion(loincIeeeCmVersion) .setConceptMapVersion(loincRsnaCmVersion)
.setConceptMapName(LoincPartRelatedCodeMappingHandler.LOINC_PART_TO_RID_PART_MAP_NAME) .setConceptMapName(LoincPartRelatedCodeMappingHandler.LOINC_PART_TO_RID_PART_MAP_NAME)
.setSourceCodeSystem(ITermLoaderSvc.LOINC_URI) .setSourceCodeSystem(ITermLoaderSvc.LOINC_URI)
.setSourceCode(partNumber) .setSourceCode(partNumber)
@ -198,7 +198,7 @@ public class LoincRsnaPlaybookHandler extends BaseLoincHandler implements IRecor
new ConceptMapping() new ConceptMapping()
.setConceptMapId(LoincPartRelatedCodeMappingHandler.LOINC_TERM_TO_RPID_PART_MAP_ID) .setConceptMapId(LoincPartRelatedCodeMappingHandler.LOINC_TERM_TO_RPID_PART_MAP_ID)
.setConceptMapUri(LoincPartRelatedCodeMappingHandler.LOINC_TERM_TO_RPID_PART_MAP_URI) .setConceptMapUri(LoincPartRelatedCodeMappingHandler.LOINC_TERM_TO_RPID_PART_MAP_URI)
.setConceptMapVersion(loincIeeeCmVersion) .setConceptMapVersion(loincRsnaCmVersion)
.setConceptMapName(LoincPartRelatedCodeMappingHandler.LOINC_TERM_TO_RPID_PART_MAP_NAME) .setConceptMapName(LoincPartRelatedCodeMappingHandler.LOINC_TERM_TO_RPID_PART_MAP_NAME)
.setSourceCodeSystem(ITermLoaderSvc.LOINC_URI) .setSourceCodeSystem(ITermLoaderSvc.LOINC_URI)
.setSourceCode(loincNumber) .setSourceCode(loincNumber)