public static boolean isUserDefinedNode(String name){
  return !(name.equalsIgnoreCase(NODE_ENCOUNTER_ENCOUNTER_DATETIME) || name.equalsIgnoreCase(NODE_ENCOUNTER_LOCATION_ID) || name.equalsIgnoreCase(NODE_ENCOUNTER_PROVIDER_ID)|| name.equalsIgnoreCase(NODE_PATIENT_MIDDLE_NAME)|| name.equalsIgnoreCase(NODE_PATIENT_GIVEN_NAME)|| name.equalsIgnoreCase(NODE_PATIENT_PATIENT_ID)|| name.equalsIgnoreCase(NODE_PATIENT_FAMILY_NAME));
}

public static boolean isUserDefinedNode ( String name ) { return ! ( name . equalsIgnoreCase ( NODE_ENCOUNTER_ENCOUNTER_DATETIME ) || name . equalsIgnoreCase ( NODE_ENCOUNTER_LOCATION_ID ) || name . equalsIgnoreCase ( NODE_ENCOUNTER_PROVIDER_ID ) || name . equalsIgnoreCase ( NODE_PATIENT_MIDDLE_NAME ) || name . equalsIgnoreCase ( NODE_PATIENT_GIVEN_NAME ) || name . equalsIgnoreCase ( NODE_PATIENT_PATIENT_ID ) || name . equalsIgnoreCase ( NODE_PATIENT_FAMILY_NAME ) ) ; }
checks if a node is a user defined one . that is not one of the standard openmrs nodes .
