test_class.declarator: transformer
test_class.modifier: private
test_class.original_string: private GenderPIDTransformer transformer;
test_class.type: GenderPIDTransformer
test_class.var_name: transformer
test_class.file: commons/ihe/xds/src/test/java/org/openehealth/ipf/commons/ihe/xds/core/transform/hl7/pid/GenderPIDTransformerTest.java
test_class.identifier: GenderPIDTransformerTest
test_case.body: @Test
      public void testFromHL7Null() {
          PatientInfo patientInfo = new PatientInfo();
          transformer.fromHL7(null, patientInfo);
          assertNull(patientInfo.getGender());
      }
test_case.class_method_signature: GenderPIDTransformerTest.testFromHL7Null()
test_case.full_signature: @Test public void testFromHL7Null()
test_case.identifier: testFromHL7Null
test_case.invocations: fromHL7 assertNull getGender
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFromHL7Null()
focal_class.file: commons/ihe/xds/src/main/java/org/openehealth/ipf/commons/ihe/xds/core/transform/hl7/pid/GenderPIDTransformer.java
focal_class.identifier: GenderPIDTransformer
focal_class.interfaces: implements PIDTransformer
focal_class.class_method_signature: GenderPIDTransformer.fromHL7(String hl7Data, PatientInfo patientInfo)
focal_class.full_signature: @Override public void fromHL7(String hl7Data, PatientInfo patientInfo)
focal_class.identifier: fromHL7
focal_class.modifiers: @Override public
focal_class.parameters: (String hl7Data, PatientInfo patientInfo)
focal_class.return: void
focal_class.signature: void fromHL7(String hl7Data, PatientInfo patientInfo)
focal_class.class_method_signature: GenderPIDTransformer.toHL7(PatientInfo patientInfo)
focal_class.full_signature: @Override public List<String> toHL7(PatientInfo patientInfo)
focal_class.identifier: toHL7
focal_class.modifiers: @Override public
focal_class.parameters: (PatientInfo patientInfo)
focal_class.return: List<String>
focal_class.signature: List<String> toHL7(PatientInfo patientInfo)
focal_method.body: @Override
      public void fromHL7(String hl7Data, PatientInfo patientInfo) {
          notNull(patientInfo, "patientInfo cannot be null");
          if (StringUtils.isNotEmpty(hl7Data)) {
              patientInfo.setGender(hl7Data);
          }
      }
focal_method.class_method_signature: GenderPIDTransformer.fromHL7(String hl7Data, PatientInfo patientInfo)
focal_method.full_signature: @Override public void fromHL7(String hl7Data, PatientInfo patientInfo)
focal_method.identifier: fromHL7
focal_method.invocations: notNull isNotEmpty setGender
focal_method.modifiers: @Override public
focal_method.parameters: (String hl7Data, PatientInfo patientInfo)
focal_method.return: void
focal_method.signature: void fromHL7(String hl7Data, PatientInfo patientInfo)