Test fixes
This commit is contained in:
parent
c9d7b88cab
commit
c8f0e0047f
|
@ -162,6 +162,9 @@ public class TerminologyLoaderSvcImpl implements IHapiTerminologyLoaderSvc {
|
|||
int nextLoggedCount = 0;
|
||||
while (iter.hasNext()) {
|
||||
CSVRecord nextRecord = iter.next();
|
||||
if (nextRecord.isConsistent()==false) {
|
||||
continue;
|
||||
}
|
||||
theHandler.accept(nextRecord);
|
||||
count++;
|
||||
if (count >= nextLoggedCount) {
|
||||
|
|
|
@ -43,7 +43,7 @@ public class LoincPartRelatedCodeMappingHandler extends BaseLoincHandler impleme
|
|||
public static final String LOINC_TERM_TO_RPID_PART_MAP_ID = "loinc-term-to-rpids";
|
||||
public static final String LOINC_TERM_TO_RPID_PART_MAP_URI = "http://loinc.org/cm/loinc-to-rpids";
|
||||
public static final String LOINC_TERM_TO_RPID_PART_MAP_NAME = "LOINC Terms to RadLex RPIDs";
|
||||
public static final String LOINC_PART_TO_RID_PART_MAP_ID = "loinc-term-to-rpids";
|
||||
public static final String LOINC_PART_TO_RID_PART_MAP_ID = "loinc-part-to-rids";
|
||||
public static final String LOINC_PART_TO_RID_PART_MAP_URI = "http://loinc.org/cm/loinc-to-rpids";
|
||||
public static final String LOINC_PART_TO_RID_PART_MAP_NAME = "LOINC Parts to RadLex RIDs";
|
||||
private static final String LOINC_SCT_PART_MAP_NAME = "LOINC Part Map to SNOMED CT";
|
||||
|
|
|
@ -246,11 +246,11 @@ public class TerminologyLoaderSvcLoincTest {
|
|||
// all entries have the same source and target so these should be null
|
||||
assertEquals(IHapiTerminologyLoaderSvc.LOINC_URI, group.getSource());
|
||||
assertEquals(LoincRsnaPlaybookHandler.RPID_CS_URI, group.getTarget());
|
||||
assertEquals("LP199995-4", group.getElement().get(0).getCode());
|
||||
assertEquals("Neck", group.getElement().get(0).getDisplay());
|
||||
assertEquals("24531-6", group.getElement().get(0).getCode());
|
||||
assertEquals("US Retroperitoneum", group.getElement().get(0).getDisplay());
|
||||
assertEquals(1, group.getElement().get(0).getTarget().size());
|
||||
assertEquals("RID7488", group.getElement().get(0).getTarget().get(0).getCode());
|
||||
assertEquals("neck", group.getElement().get(0).getTarget().get(0).getDisplay());
|
||||
assertEquals("RPID2142", group.getElement().get(0).getTarget().get(0).getCode());
|
||||
assertEquals("US Retroperitoneum", group.getElement().get(0).getTarget().get(0).getDisplay());
|
||||
assertEquals(Enumerations.ConceptMapEquivalence.EQUAL, group.getElement().get(0).getTarget().get(0).getEquivalence());
|
||||
|
||||
// TOP 2000 - US
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<configuration>
|
||||
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
<level>INFO</level>
|
||||
|
|
|
@ -39,3 +39,8 @@
|
|||
"LP6838-9","PROPERTY","NFr","Number Fraction","ACTIVE"
|
||||
"LP6141-8","METHOD","Automated count","Automated count","ACTIVE"
|
||||
"LP15842-5","COMPONENT","Pyridoxine","Pyridoxine","ACTIVE"
|
||||
"LP19258-0","COMPONENT","Large unstained cells","Large unstained cells","ACTIVE"
|
||||
"LP32887-9","SYSTEM","{Setting}","{Setting}","ACTIVE"
|
||||
"LP187178-1","METHOD","{Role}","Role-unspecified","ACTIVE"
|
||||
"LP72311-1","COMPONENT","Consultation note","Consultation note","ACTIVE"
|
||||
|
||||
|
|
|
Loading…
Reference in New Issue