@Test
public void testFromHL7OneEmptyId() {

    PatientInfo patientInfo = new PatientInfo();
    transformer.fromHL7("^^^~id2^^^&2.2.2.2&ISO", patientInfo);
    
    List<Identifiable> ids = patientInfo.getIds();        
    assertEquals(1, ids.size());
    
    assertEquals("id2", ids.get(0).getId());
    assertEquals("2.2.2.2", ids.get(0).getAssigningAuthority().getUniversalId());
    assertEquals("ISO", ids.get(0).getAssigningAuthority().getUniversalIdType());
}