test_class.declarator: validator = new CXValidator()
test_class.modifier: private static final
test_class.original_string: private static final CXValidator validator = new CXValidator();
test_class.type: CXValidator
test_class.var_name: validator
test_class.file: commons/ihe/xds/src/test/java/org/openehealth/ipf/commons/ihe/xds/core/validate/CXValidatorTest.java
test_class.identifier: CXValidatorTest
test_case.body: @Test
      public void testValidateGoodCases() throws XDSMetaDataException {
          validator.validate("45^^^&1.2.840.113519.6.197&ISO");
      }
test_case.class_method_signature: CXValidatorTest.testValidateGoodCases()
test_case.full_signature: @Test public void testValidateGoodCases()
test_case.identifier: testValidateGoodCases
test_case.invocations: validate
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testValidateGoodCases()
focal_class.declarator: HD_VALIDATOR = new HDValidator()
focal_class.modifier: private final
focal_class.original_string: private final HDValidator HD_VALIDATOR = new HDValidator();
focal_class.type: HDValidator
focal_class.var_name: HD_VALIDATOR
focal_class.file: commons/ihe/xds/src/main/java/org/openehealth/ipf/commons/ihe/xds/core/validate/CXValidator.java
focal_class.identifier: CXValidator
focal_class.interfaces: implements ValueValidator
focal_class.class_method_signature: CXValidator.validate(String hl7CX)
focal_class.full_signature: @Override public void validate(String hl7CX)
focal_class.identifier: validate
focal_class.modifiers: @Override public
focal_class.parameters: (String hl7CX)
focal_class.return: void
focal_class.signature: void validate(String hl7CX)
focal_method.body: @Override
      public void validate(String hl7CX) throws XDSMetaDataException {
          Identifiable identifiable = Hl7v2Based.parse(hl7CX, Identifiable.class);
          metaDataAssert(identifiable != null, CX_NEEDS_ID);
  
          CX cx = identifiable.getHapiObject();
  
          metaDataAssert(countMatches(hl7CX, "^") <= 3, CX_TOO_MANY_COMPONENTS);
          metaDataAssert(isEmpty(cx.getCx2_CheckDigit().getValue()), CX_TOO_MANY_COMPONENTS);
          metaDataAssert(isEmpty(cx.getCx3_CheckDigitScheme().getValue()), CX_TOO_MANY_COMPONENTS);
  
          metaDataAssert(isNotEmpty(cx.getCx1_IDNumber().getValue()), CX_NEEDS_ID);
  
          HD_VALIDATOR.validate(cx.getCx4_AssigningAuthority(), hl7CX);
      }
focal_method.class_method_signature: CXValidator.validate(String hl7CX)
focal_method.full_signature: @Override public void validate(String hl7CX)
focal_method.identifier: validate
focal_method.invocations: parse metaDataAssert getHapiObject metaDataAssert countMatches metaDataAssert isEmpty getValue getCx2_CheckDigit metaDataAssert isEmpty getValue getCx3_CheckDigitScheme metaDataAssert isNotEmpty getValue getCx1_IDNumber validate getCx4_AssigningAuthority
focal_method.modifiers: @Override public
focal_method.parameters: (String hl7CX)
focal_method.return: void
focal_method.signature: void validate(String hl7CX)